/*
 *  AnishBestPingPongerAliveButNotAsGoodAsMax.h
 *
 *  Auto generated by Maxim Integrated, supporting revision
 *  Search for #BYHAND for flags on special cases to fix by hand
 *  #BYHAND width doesn't match: (this is usually when a bit has shorthand or formulaic descriptions)
 *  #BYHAND width >= 5:
 */
#ifndef __MAX98927_REGISTERDEFS_H
#define __MAX98927_REGISTERDEFS_H
#ifdef CONFIG_SND_SOC_MAXIM_DSM
#include <sound/maxim_dsm.h>
#endif /* CONFIG_SND_SOC_MAXIM_DSM */

#define MAX98927L 0
#define MAX98927R 1
#define MAX_CHANNEL_NUM (2)
#define UNKNOWN_ID		(-1)
#define MAX98927_ID     (0)
#define MAX98937_ID		(1)
typedef enum
{

	MAX98927_Interrupt_Raw_1                                          = 0x0001,
	MAX98927_Interrupt_Raw_1_BDE_ACTIVE_END_RAW                       = (0x1 << 0),
	MAX98927_Interrupt_Raw_1_BDE_ACTIVE_BGN_RAW                       = (0x1 << 1),
	MAX98927_Interrupt_Raw_1_BDE_LEVEL_CHANGE_RAW                     = (0x1 << 2),
	MAX98927_Interrupt_Raw_1_BDE_L8_RAW                               = (0x1 << 3),
	MAX98927_Interrupt_Raw_1_THERMWARN_END_RAW                        = (0x1 << 4),
	MAX98927_Interrupt_Raw_1_THERMWARN_START_RAW                      = (0x1 << 5),
	MAX98927_Interrupt_Raw_1_THERMSHDN_END_RAW                        = (0x1 << 6),
	MAX98927_Interrupt_Raw_1_THERMSHDN_START_RAW                      = (0x1 << 7),


	MAX98927_Interrupt_Raw_2                                          = 0x0002,
	MAX98927_Interrupt_Raw_2_WATCHDOGWARN_RAW                         = (0x1 << 0),
	MAX98927_Interrupt_Raw_2_WATCHDOGFAIL_RAW                         = (0x1 << 1),
	MAX98927_Interrupt_Raw_2_BOOSTCURRLIM_RAW                         = (0x1 << 2),
	MAX98927_Interrupt_Raw_2_CLKSTOP_RAW                              = (0x1 << 3),
	MAX98927_Interrupt_Raw_2_CLKSTART_RAW                             = (0x1 << 4),
	MAX98927_Interrupt_Raw_2_MEASADC_END_RAW                          = (0x1 << 5),
	MAX98927_Interrupt_Raw_2_PWRDN_DONE_RAW                           = (0x1 << 6),
	MAX98927_Interrupt_Raw_2_PWRUP_DONE_RAW                           = (0x1 << 7),


	MAX98927_Interrupt_Raw_3                                          = 0x0003,
	MAX98927_Interrupt_Raw_3_PWRUP_FAIL_RAW                           = (0x1 << 0),
	MAX98927_Interrupt_Raw_3_AUTH_DONE_RAW                            = (0x1 << 1),
	MAX98927_Interrupt_Raw_3_SPK_OVC_RAW                              = (0x1 << 2),
	MAX98927_Interrupt_Raw_3_BST_UVLO_RAW                             = (0x1 << 3),


	MAX98927_Interrupt_State_1                                        = 0x0004,
	MAX98927_Interrupt_State_1_BDE_ACTIVE_END_STATE                   = (0x1 << 0),
	MAX98927_Interrupt_State_1_BDE_ACTIVE_BGN_STATE                   = (0x1 << 1),
	MAX98927_Interrupt_State_1_BDE_LEVEL_CHANGE_STATE                 = (0x1 << 2),
	MAX98927_Interrupt_State_1_BDE_L8_STATE                           = (0x1 << 3),
	MAX98927_Interrupt_State_1_THERMWARN_END_STATE                    = (0x1 << 4),
	MAX98927_Interrupt_State_1_THERMWARN_START_STATE                  = (0x1 << 5),
	MAX98927_Interrupt_State_1_THERMSHDN_END_STATE                    = (0x1 << 6),
	MAX98927_Interrupt_State_1_THERMSHDN_START_STATE                  = (0x1 << 7),


	MAX98927_Interrupt_State_2                                        = 0x0005,
	MAX98927_Interrupt_State_2_WATCHDOGWARN_STATE                     = (0x1 << 0),
	MAX98927_Interrupt_State_2_WATCHDOGFAIL_STATE                     = (0x1 << 1),
	MAX98927_Interrupt_State_2_BOOSTCURRLIM_STATE                     = (0x1 << 2),
	MAX98927_Interrupt_State_2_CLKSTOP_STATE                          = (0x1 << 3),
	MAX98927_Interrupt_State_2_CLKSTART_STATE                         = (0x1 << 4),
	MAX98927_Interrupt_State_2_MEASADC_END_STATE                      = (0x1 << 5),
	MAX98927_Interrupt_State_2_PWRDN_DONE_STATE                       = (0x1 << 6),
	MAX98927_Interrupt_State_2_PWRUP_DONE_STATE                       = (0x1 << 7),


	MAX98927_Interrupt_State_3                                        = 0x0006,
	MAX98927_Interrupt_State_3_PWRUP_FAIL_STATE                       = (0x1 << 0),
	MAX98927_Interrupt_State_3_AUTH_DONE_STATE                        = (0x1 << 1),
	MAX98927_Interrupt_State_3_SPK_OVC_STATE                          = (0x1 << 2),
	MAX98927_Interrupt_State_3_BST_UVLO_STATE                         = (0x1 << 3),


	MAX98927_Interrupt_Flag_1                                         = 0x0007,
	MAX98927_Interrupt_Flag_1_BDE_ACTIVE_END_FLAG                     = (0x1 << 0),
	MAX98927_Interrupt_Flag_1_BDE_ACTIVE_BGN_FLAG                     = (0x1 << 1),
	MAX98927_Interrupt_Flag_1_BDE_LEVEL_CHANGE_FLAG                   = (0x1 << 2),
	MAX98927_Interrupt_Flag_1_BDE_L8_FLAG                             = (0x1 << 3),
	MAX98927_Interrupt_Flag_1_THERMWARN_END_FLAG                      = (0x1 << 4),
	MAX98927_Interrupt_Flag_1_THERMWARN_START_FLAG                    = (0x1 << 5),
	MAX98927_Interrupt_Flag_1_THERMSHDN_END_FLAG                      = (0x1 << 6),
	MAX98927_Interrupt_Flag_1_THERMSHDN_START_FLAG                    = (0x1 << 7),


	MAX98927_Interrupt_Flag_2                                         = 0x0008,
	MAX98927_Interrupt_Flag_2_WATCHDOGWARN_FLAG                       = (0x1 << 0),
	MAX98927_Interrupt_Flag_2_WATCHDOGFAIL_FLAG                       = (0x1 << 1),
	MAX98927_Interrupt_Flag_2_BOOSTCURRLIM_FLAG                       = (0x1 << 2),
	MAX98927_Interrupt_Flag_2_CLKSTOP_FLAG                            = (0x1 << 3),
	MAX98927_Interrupt_Flag_2_CLKSTART_FLAG                           = (0x1 << 4),
	MAX98927_Interrupt_Flag_2_MEASADC_END_FLAG                        = (0x1 << 5),
	MAX98927_Interrupt_Flag_2_PWRDN_DONE_FLAG                         = (0x1 << 6),
	MAX98927_Interrupt_Flag_2_PWRUP_DONE_FLAG                         = (0x1 << 7),


	MAX98927_Interrupt_Flag_3                                         = 0x0009,
	MAX98927_Interrupt_Flag_3_PWRUP_FAIL_FLAG                         = (0x1 << 0),
	MAX98927_Interrupt_Flag_3_AUTH_DONE_FLAG                          = (0x1 << 1),
	MAX98927_Interrupt_Flag_3_SPK_OVC_FLAG                            = (0x1 << 2),
	MAX98927_Interrupt_Flag_3_BST_UVLO_FLAG                           = (0x1 << 3),


	MAX98927_Interrupt_Enable_1                                       = 0x000a,
	MAX98927_Interrupt_Enable_1_BDE_ACTIVE_END_EN                     = (0x1 << 0),
	MAX98927_Interrupt_Enable_1_BDE_ACTIVE_BGN_EN                     = (0x1 << 1),
	MAX98927_Interrupt_Enable_1_BDE_LEVEL_CHANGE_EN                   = (0x1 << 2),
	MAX98927_Interrupt_Enable_1_BDE_L8_EN                             = (0x1 << 3),
	MAX98927_Interrupt_Enable_1_THERMWARN_END_EN                      = (0x1 << 4),
	MAX98927_Interrupt_Enable_1_THERMWARN_START_EN                    = (0x1 << 5),
	MAX98927_Interrupt_Enable_1_THERMSHDN_END_EN                      = (0x1 << 6),
	MAX98927_Interrupt_Enable_1_THERMSHDN_START_EN                    = (0x1 << 7),


	MAX98927_Interrupt_Enable_2                                       = 0x000b,
	MAX98927_Interrupt_Enable_2_WATCHDOGWARN_EN                       = (0x1 << 0),
	MAX98927_Interrupt_Enable_2_WATCHDOGFAIL_EN                       = (0x1 << 1),
	MAX98927_Interrupt_Enable_2_BOOSTCURRLIM_EN                       = (0x1 << 2),
	MAX98927_Interrupt_Enable_2_CLKSTOP_EN                            = (0x1 << 3),
	MAX98927_Interrupt_Enable_2_CLKSTART_EN                           = (0x1 << 4),
	MAX98927_Interrupt_Enable_2_MEASADC_END_EN                        = (0x1 << 5),
	MAX98927_Interrupt_Enable_2_PWRDN_DONE_EN                         = (0x1 << 6),
	MAX98927_Interrupt_Enable_2_PWRUP_DONE_EN                         = (0x1 << 7),


	MAX98927_Interrupt_Enable_3                                       = 0x000c,
	MAX98927_Interrupt_Enable_3_PWRUP_FAIL_EN                         = (0x1 << 0),
	MAX98927_Interrupt_Enable_3_AUTH_DONE_EN                          = (0x1 << 1),
	MAX98927_Interrupt_Enable_3_SPK_OVC_EN                            = (0x1 << 2),
	MAX98927_Interrupt_Enable_3_BST_UVLO_EN                           = (0x1 << 3),


	MAX98927_Interrupt_Flag_Clear_1                                   = 0x000d,
	MAX98927_Interrupt_Flag_Clear_1_BDE_ACTIVE_END_CLR                = (0x1 << 0),
	MAX98927_Interrupt_Flag_Clear_1_BDE_ACTIVE_BGN_CLR                = (0x1 << 1),
	MAX98927_Interrupt_Flag_Clear_1_BDE_LEVEL_CHANGE_CLR              = (0x1 << 2),
	MAX98927_Interrupt_Flag_Clear_1_BDE_L8_CLR                        = (0x1 << 3),
	MAX98927_Interrupt_Flag_Clear_1_THERMWARN_END_CLR                 = (0x1 << 4),
	MAX98927_Interrupt_Flag_Clear_1_THERMWARN_START_CLR               = (0x1 << 5),
	MAX98927_Interrupt_Flag_Clear_1_THERMSHDN_END_CLR                 = (0x1 << 6),
	MAX98927_Interrupt_Flag_Clear_1_THERMSHDN_START_CLR               = (0x1 << 7),


	MAX98927_Interrupt_Flag_Clear_2                                   = 0x000e,
	MAX98927_Interrupt_Flag_Clear_2_WATCHDOGWARN_CLR                  = (0x1 << 0),
	MAX98927_Interrupt_Flag_Clear_2_WATCHDOGFAIL_CLR                  = (0x1 << 1),
	MAX98927_Interrupt_Flag_Clear_2_BOOSTCURRLIM_CLR                  = (0x1 << 2),
	MAX98927_Interrupt_Flag_Clear_2_CLKSTOP_CLR                       = (0x1 << 3),
	MAX98927_Interrupt_Flag_Clear_2_CLKSTART_CLR                      = (0x1 << 4),
	MAX98927_Interrupt_Flag_Clear_2_MEASADC_END_CLR                   = (0x1 << 5),
	MAX98927_Interrupt_Flag_Clear_2_PWRDN_DONE_CLR                    = (0x1 << 6),
	MAX98927_Interrupt_Flag_Clear_2_PWRUP_DONE_CLR                    = (0x1 << 7),


	MAX98927_Interrupt_Flag_Clear_3                                   = 0x000f,
	MAX98927_Interrupt_Flag_Clear_3_PWRUP_FAIL_CLR                    = (0x1 << 0),
	MAX98927_Interrupt_Flag_Clear_3_AUTH_DONE_CLR                     = (0x1 << 1),
	MAX98927_Interrupt_Flag_Clear_3_SPK_OVC_CLR                       = (0x1 << 2),
	MAX98927_Interrupt_Flag_Clear_3_BST_UVLO_CLR                      = (0x1 << 3),


	MAX98927_IRQ_Control                                              = 0x0010,
	MAX98927_IRQ_Control_IRQ_EN                                       = (0x1 << 0),
	MAX98927_IRQ_Control_IRQ_POL                                      = (0x1 << 1),
	MAX98927_IRQ_Control_IRQ_MODE                                     = (0x1 << 2),


	MAX98927_Clock_monitor_enable                                     = 0x0011,
	MAX98927_Clock_monitor_enable_CMON_ENA                            = (0x1 << 0),
	MAX98927_Clock_monitor_enable_CMON_AUTORESTART_ENA                = (0x1 << 1),


	MAX98927_Watchdog_Control                                         = 0x0012,
	MAX98927_Watchdog_Control_WDT_ENA                                 = (0x1 << 0),
	MAX98927_Watchdog_Control_WDT_MODE                                = (0x1 << 1),
	MAX98927_Watchdog_Control_WDT_TO_SEL_Mask                         = (0x3 << 2),

	MAX98927_Watchdog_Control_WDT_TO_SEL_5                            = (0x0 << 2),
	MAX98927_Watchdog_Control_WDT_TO_SEL_10                           = (0x1 << 2),
	MAX98927_Watchdog_Control_WDT_TO_SEL_35                           = (0x2 << 2),
	MAX98927_Watchdog_Control_WDT_TO_SEL_50                           = (0x3 << 2),
	MAX98927_Watchdog_Control_WDT_HW_SOURCE                           = (0x1 << 4),


	MAX98927_Watchdog_SW_Reset                                        = 0x0013,

	MAX98927_Watchdog_SW_Reset_WDT_SW_RST_Mask                        = (0xff << 0),


	MAX98927_Meas_ADC_Thermal_Warning_Threshhold                      = 0x0014,

	MAX98927_Meas_ADC_Thermal_Warning_Threshhold_MEAS_ADC_WARN_THRESH_Mask = (0xff << 0),


	MAX98927_Meas_ADC_Thermal_Shutdown_Threshhold                     = 0x0015,

	MAX98927_Meas_ADC_Thermal_Shutdown_Threshhold_MEAS_ADC_SHDN_THRESH_Mask = (0xff << 0),


	MAX98927_Meas_ADC_Thermal_Hysteresis                              = 0x0016,

	MAX98927_Meas_ADC_Thermal_Hysteresis_MEAS_ADC_THERM_HYST_Mask     = (0x1f << 0),


	MAX98927_Pin_Config                                               = 0x0017,
	MAX98927_Pin_Config_DOUT_DRV_Mask                                 = (0x3 << 0),


	MAX98927_Pin_Config_DOUT_DRV_01                                   = (0x0 << 0),
	MAX98927_Pin_Config_DOUT_DRV_11                                   = (0x2 << 0),
	MAX98927_Pin_Config_BCLK_DRV_Mask                                 = (0x3 << 2),


	MAX98927_Pin_Config_BCLK_DRV_01                                   = (0x0 << 2),
	MAX98927_Pin_Config_BCLK_DRV_11                                   = (0x2 << 2),
	MAX98927_Pin_Config_LRCLK_DRV_Mask                                = (0x3 << 4),


	MAX98927_Pin_Config_LRCLK_DRV_01                                  = (0x0 << 4),
	MAX98927_Pin_Config_LRCLK_DRV_11                                  = (0x2 << 4),
	MAX98927_Pin_Config_ICC_DRV_Mask                                  = (0x3 << 6),


	MAX98927_Pin_Config_ICC_DRV_01                                    = (0x0 << 6),
	MAX98927_Pin_Config_ICC_DRV_11                                    = (0x2 << 6),


	MAX98927_PCM_Rx_Enables_A                                         = 0x0018,
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH0_EN                           = (0x1 << 0),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH1_EN                           = (0x1 << 1),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH2_EN                           = (0x1 << 2),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH3_EN                           = (0x1 << 3),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH4_EN                           = (0x1 << 4),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH5_EN                           = (0x1 << 5),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH6_EN                           = (0x1 << 6),
	MAX98927_PCM_Rx_Enables_A_PCM_RX_CH7_EN                           = (0x1 << 7),


	MAX98927_PCM_Rx_Enables_B                                         = 0x0019,
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH8_EN                           = (0x1 << 0),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH9_EN                           = (0x1 << 1),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH10_EN                          = (0x1 << 2),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH11_EN                          = (0x1 << 3),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH12_EN                          = (0x1 << 4),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH13_EN                          = (0x1 << 5),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH14_EN                          = (0x1 << 6),
	MAX98927_PCM_Rx_Enables_B_PCM_RX_CH15_EN                          = (0x1 << 7),


	MAX98927_PCM_Tx_Enables_A                                         = 0x001a,
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH0_EN                           = (0x1 << 0),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH1_EN                           = (0x1 << 1),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH2_EN                           = (0x1 << 2),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH3_EN                           = (0x1 << 3),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH4_EN                           = (0x1 << 4),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH5_EN                           = (0x1 << 5),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH6_EN                           = (0x1 << 6),
	MAX98927_PCM_Tx_Enables_A_PCM_TX_CH7_EN                           = (0x1 << 7),


	MAX98927_PCM_Tx_Enables_B                                         = 0x001b,
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH8_EN                           = (0x1 << 0),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH9_EN                           = (0x1 << 1),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH10_EN                          = (0x1 << 2),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH11_EN                          = (0x1 << 3),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH12_EN                          = (0x1 << 4),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH13_EN                          = (0x1 << 5),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH14_EN                          = (0x1 << 6),
	MAX98927_PCM_Tx_Enables_B_PCM_TX_CH15_EN                          = (0x1 << 7),


	MAX98927_PCM_Tx_HiZ_Control_A                                     = 0x001c,
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH0_HIZ                      = (0x1 << 0),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH1_HIZ                      = (0x1 << 1),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH2_HIZ                      = (0x1 << 2),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH3_HIZ                      = (0x1 << 3),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH4_HIZ                      = (0x1 << 4),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH5_HIZ                      = (0x1 << 5),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH6_HIZ                      = (0x1 << 6),
	MAX98927_PCM_Tx_HiZ_Control_A_PCM_TX_CH7_HIZ                      = (0x1 << 7),


	MAX98927_PCM_Tx_HiZ_Control_B                                     = 0x001d,
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH8_HIZ                      = (0x1 << 0),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH9_HIZ                      = (0x1 << 1),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH10_HIZ                     = (0x1 << 2),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH11_HIZ                     = (0x1 << 3),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH12_HIZ                     = (0x1 << 4),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH13_HIZ                     = (0x1 << 5),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH14_HIZ                     = (0x1 << 6),
	MAX98927_PCM_Tx_HiZ_Control_B_PCM_TX_CH15_HIZ                     = (0x1 << 7),


	MAX98927_PCM_Tx_Channel_Sources_A                                 = 0x001e,
	MAX98927_PCM_Tx_Channel_Sources_A_PCM_IVADC_V_DEST_Mask           = (0xf << 0),


	MAX98927_PCM_Tx_Channel_Sources_A_PCM_IVADC_I_DEST_Mask           = (0xf << 4),




	MAX98927_PCM_Tx_Channel_Sources_B                                 = 0x001f,
	MAX98927_PCM_Tx_Channel_Sources_B_PCM_AMP_DSP_DEST_Mask           = (0xf << 0),




	MAX98927_PCM_Mode_Config                                          = 0x0020,
	MAX98927_PCM_Mode_Config_PCM_TX_EXTRA_HIZ                         = (0x1 << 0),
	MAX98927_PCM_Mode_Config_PCM_CHANSEL                              = (0x1 << 1),
	MAX98927_PCM_Mode_Config_PCM_BCLKEDGE                             = (0x1 << 2),
	MAX98927_PCM_Mode_Config_PCM_FORMAT_Mask                          = (0x7 << 3),


	MAX98927_PCM_Mode_Config_PCM_FORMAT_I2S                           = (0x0 << 3),
	MAX98927_PCM_Mode_Config_PCM_FORMAT_LEFT                          = (0x1 << 3),
	MAX98927_PCM_Mode_Config_PCM_FORMAT_TDM_0                         = (0x3 << 3),
	MAX98927_PCM_Mode_Config_PCM_FORMAT_TDM_1                         = (0x4 << 3),
	MAX98927_PCM_Mode_Config_PCM_FORMAT_TDM_2                         = (0x5 << 3),
	MAX98927_PCM_Mode_Config_PCM_FORMAT_                              = (0x6 << 3),
	MAX98927_PCM_Mode_Config_PCM_CHANSZ_Mask                          = (0x3 << 6),


	MAX98927_PCM_Mode_Config_PCM_CHANSZ_16                            = (0x1 << 6),
	MAX98927_PCM_Mode_Config_PCM_CHANSZ_24                            = (0x2 << 6),
	MAX98927_PCM_Mode_Config_PCM_CHANSZ_32                            = (0x3 << 6),


	MAX98927_PCM_Master_Mode                                          = 0x0021,
	MAX98927_PCM_Master_Mode_PCM_MSTR_MODE_Mask                       = (0x3 << 0),


	MAX98927_PCM_Master_Mode_PCM_MSTR_MODE_SLAVE                         = (0x0 << 0),
	MAX98927_PCM_Master_Mode_PCM_MSTR_MODE_MASTER                        = (0x3 << 0),
	MAX98927_PCM_Master_Mode_PCM_MSTR_MODE_HYBRID                        = (0x1 << 0),
	MAX98927_PCM_Master_Mode_PCM_MCLK_RATE_Mask                       = (0xf << 2),


	MAX98927_PCM_Master_Mode_PCM_CLK_SOURCE                           = (0x1 << 6),


	MAX98927_PCM_Clock_setup                                          = 0x0022,
	MAX98927_PCM_Clock_setup_PCM_BSEL_Mask                            = (0xf << 0),


	MAX98927_PCM_Clock_setup_PCM_MSEL_Mask                            = (0xf << 4),




	MAX98927_PCM_Sample_rate_setup_1                                  = 0x0023,
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_Mask                   = (0xf << 0),


	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_8000                   = (0x0 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_11025                   = (0x1 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_12000                   = (0x2 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_16000                   = (0x3 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_22050                   = (0x4 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_24000                   = (0x5 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_32000                   = (0x6 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_44100                   = (0x7 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_48000                   = (0x8 << 0),
	MAX98927_PCM_Sample_rate_setup_1_DIG_IF_SR_96000                   = (0xa << 0),


	MAX98927_PCM_Sample_rate_setup_2                                  = 0x0024,
	MAX98927_PCM_Sample_rate_setup_2_IVADC_SR_Mask                    = (0xf << 0),


	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_Mask                      = (0xf << 4),


	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_0001                      = (0x0 << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_0011                      = (0x2 << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_0101                      = (0x4 << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_0111                      = (0x6 << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_1001                      = (0x8 << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_1011                      = (0xa << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_1101                      = (0xc << 4),
	MAX98927_PCM_Sample_rate_setup_2_SPK_SR_                          = (0xf << 4),


	MAX98927_PCM_to_speaker_monomix_A                                 = 0x0025,
	MAX98927_PCM_to_speaker_monomix_A_DMONOMIX_CH0_SOURCE_Mask        = (0xf << 0),


	MAX98927_PCM_to_speaker_monomix_A_DMONOMIX_CFG_Mask               = (0x3 << 6),


	MAX98927_PCM_to_speaker_monomix_A_DMONOMIX_CFG_1                  = (0x0 << 6),
	MAX98927_PCM_to_speaker_monomix_A_DMONOMIX_CFG_3                  = (0x0 << 6),


	MAX98927_PCM_to_speaker_monomix_B                                 = 0x0026,
	MAX98927_PCM_to_speaker_monomix_B_DMONOMIX_CH1_SOURCE_Mask        = (0xf << 0),




	MAX98927_ICC_RX_Enables_A                                         = 0x0027,
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH0_EN                           = (0x1 << 0),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH1_EN                           = (0x1 << 1),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH2_EN                           = (0x1 << 2),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH3_EN                           = (0x1 << 3),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH4_EN                           = (0x1 << 4),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH5_EN                           = (0x1 << 5),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH6_EN                           = (0x1 << 6),
	MAX98927_ICC_RX_Enables_A_ICC_RX_CH7_EN                           = (0x1 << 7),


	MAX98927_ICC_RX_Enables_B                                         = 0x0028,
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH8_EN                           = (0x1 << 0),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH9_EN                           = (0x1 << 1),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH10_EN                          = (0x1 << 2),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH11_EN                          = (0x1 << 3),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH12_EN                          = (0x1 << 4),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH13_EN                          = (0x1 << 5),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH14_EN                          = (0x1 << 6),
	MAX98927_ICC_RX_Enables_B_ICC_RX_CH15_EN                          = (0x1 << 7),


	MAX98927_ICC_TX_Enables_A                                         = 0x002b,
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH0_EN                           = (0x1 << 0),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH1_EN                           = (0x1 << 1),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH2_EN                           = (0x1 << 2),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH3_EN                           = (0x1 << 3),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH4_EN                           = (0x1 << 4),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH5_EN                           = (0x1 << 5),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH6_EN                           = (0x1 << 6),
	MAX98927_ICC_TX_Enables_A_ICC_TX_CH7_EN                           = (0x1 << 7),


	MAX98927_ICC_TX_Enables_B                                         = 0x002c,
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH8_EN                           = (0x1 << 0),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH9_EN                           = (0x1 << 1),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH10_EN                          = (0x1 << 2),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH11_EN                          = (0x1 << 3),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH12_EN                          = (0x1 << 4),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH13_EN                          = (0x1 << 5),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH14_EN                          = (0x1 << 6),
	MAX98927_ICC_TX_Enables_B_ICC_TX_CH15_EN                          = (0x1 << 7),


	MAX98927_ICC_Data_Order_Select                                    = 0x002d,
	MAX98927_ICC_Data_Order_Select_ICC_DRIVE_MODE                     = (0x1 << 3),


	MAX98927_ICC_HiZ_Manual_Mode                                      = 0x002e,
	MAX98927_ICC_HiZ_Manual_Mode_ICC_TX_HIZ_MANUAL                    = (0x1 << 0),
	MAX98927_ICC_HiZ_Manual_Mode_ICC_TX_EXTRA_HIZ                     = (0x1 << 1),


	MAX98927_ICC_TX_HiZ_Enables_A                                     = 0x002f,
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH0_HIZ                      = (0x1 << 0),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH1_HIZ                      = (0x1 << 1),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH2_HIZ                      = (0x1 << 2),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH3_HIZ                      = (0x1 << 3),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH4_HIZ                      = (0x1 << 4),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH5_HIZ                      = (0x1 << 5),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH6_HIZ                      = (0x1 << 6),
	MAX98927_ICC_TX_HiZ_Enables_A_ICC_TX_CH7_HIZ                      = (0x1 << 7),


	MAX98927_ICC_TX_HiZ_Enables_B                                     = 0x0030,
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH8_HIZ                      = (0x1 << 0),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH9_HIZ                      = (0x1 << 1),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH10_HIZ                     = (0x1 << 2),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH11_HIZ                     = (0x1 << 3),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH12_HIZ                     = (0x1 << 4),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH13_HIZ                     = (0x1 << 5),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH14_HIZ                     = (0x1 << 6),
	MAX98927_ICC_TX_HiZ_Enables_B_ICC_TX_CH15_HIZ                     = (0x1 << 7),


	MAX98927_ICC_Link_Enables                                         = 0x0031,
	MAX98927_ICC_Link_Enables_ICC_LINK_EN                             = (0x1 << 1),


	MAX98927_PDM_Tx_Enables                                           = 0x0032,
	MAX98927_PDM_Tx_Enables_PDM_TX_EN                                 = (0x1 << 0),
	MAX98927_PDM_Tx_Enables_PDM_TX_CLK_DIV2                           = (0x1 << 1),


	MAX98927_PDM_Tx_HiZ_Control                                       = 0x0033,
	MAX98927_PDM_Tx_HiZ_Control_PDM_TX_HIZ                            = (0x1 << 0),


	MAX98927_PDM_Tx_Control                                           = 0x0034,
	MAX98927_PDM_Tx_Control_PDM_TX_CH0_SOURCE                         = (0x1 << 0),
	MAX98927_PDM_Tx_Control_PDM_TX_CH1_SOURCE                         = (0x1 << 1),


	MAX98927_PDM_Rx_Enable                                            = 0x0035,
	MAX98927_PDM_Rx_Enable_PDM_RX_EN                                  = (0x1 << 0),
	MAX98927_PDM_Rx_Enable_PDM_DSP_EN                                 = (0x1 << 1),
	MAX98927_PDM_Rx_Enable_PDM_DITH_EN                                = (0x1 << 2),
	MAX98927_PDM_Rx_Enable_PDM_RX_CH_SEL                              = (0x1 << 3),
	MAX98927_PDM_Rx_Enable_PDM_FIFO_RDY_LVL_Mask                      = (0xf << 4),




	MAX98927_AMP_volume_control                                       = 0x0036,

	MAX98927_AMP_volume_control_AMP_VOL_Mask                          = (0x7f << 0),
	MAX98927_AMP_volume_control_AMP_VOL_SEL                           = (0x1 << 7),


	MAX98927_AMP_DSP_Config                                           = 0x0037,
	MAX98927_AMP_DSP_Config_AMP_DCBLK_EN                              = (0x1 << 0),
	MAX98927_AMP_DSP_Config_AMP_DITH_EN                               = (0x1 << 1),
	MAX98927_AMP_DSP_Config_DAC_HALF_REF_CURRENT                      = (0x1 << 2),
	MAX98927_AMP_DSP_Config_DAC_DOUBLE_RFB                            = (0x1 << 3),
	MAX98927_AMP_DSP_Config_AMP_VOL_RMP_BYPASS                        = (0x1 << 4),
	MAX98927_AMP_DSP_Config_DAC_INVERT                                = (0x1 << 5),


	MAX98927_Tone_Generator_and_DC_Config                             = 0x0038,
	MAX98927_Tone_Generator_and_DC_Config_TONE_CONFIG_Mask            = (0xf << 0),




	MAX98927_DRE_Control                                              = 0x0039,
	MAX98927_DRE_Control_DRE_EN                                       = (0x1 << 0),


	MAX98927_AMP_enables                                              = 0x003a,
	MAX98927_AMP_enables_SPK_EN                                       = (0x1 << 0),


	MAX98927_Speaker_source_select                                    = 0x003b,
	MAX98927_Speaker_source_select_SPK_SOURCE_Mask                    = (0x3 << 0),


	MAX98927_Speaker_source_select_SPK_SOURCE_01                      = (0x0 << 0),
	MAX98927_Speaker_source_select_SPK_SOURCE_11                      = (0x2 << 0),


	MAX98927_Speaker_Gain                                             = 0x003c,
	MAX98927_Speaker_Gain_SPK_PCM_GAIN_Mask                           = (0x7 << 0),


	MAX98927_Speaker_Gain_SPK_PCM_GAIN_001                            = (0x0 << 0),
	MAX98927_Speaker_Gain_SPK_PCM_GAIN_011                            = (0x2 << 0),
	MAX98927_Speaker_Gain_SPK_PCM_GAIN_101                            = (0x4 << 0),
	MAX98927_Speaker_Gain_SPK_PCM_GAIN_111                            = (0x6 << 0),
	MAX98927_Speaker_Gain_SPK_PDM_GAIN_Mask                           = (0x7 << 4),


	MAX98927_Speaker_Gain_SPK_PDM_GAIN_001                            = (0x0 << 4),
	MAX98927_Speaker_Gain_SPK_PDM_GAIN_011                            = (0x2 << 4),
	MAX98927_Speaker_Gain_SPK_PDM_GAIN_101                            = (0x4 << 4),
	MAX98927_Speaker_Gain_SPK_PDM_GAIN_111                            = (0x6 << 4),


	MAX98927_SSM_Configuration                                        = 0x003d,
	MAX98927_SSM_Configuration_SSM_MOD_INDEX_Mask                     = (0x7 << 0),


	MAX98927_SSM_Configuration_SSM_MOD_INDEX_001                      = (0x0 << 0),
	MAX98927_SSM_Configuration_SSM_MOD_INDEX_011                      = (0x2 << 0),
	MAX98927_SSM_Configuration_SSM_MOD_INDEX_101                      = (0x4 << 0),
	MAX98927_SSM_Configuration_SSM_MOD_INDEX_                         = (0x6 << 0),
	MAX98927_SSM_Configuration_SPK_FSW_SEL                            = (0x1 << 3),
	MAX98927_SSM_Configuration_SSM_ENA                                = (0x1 << 7),


	MAX98927_Measurement_enables                                      = 0x003e,
	MAX98927_Measurement_enables_IVADC_V_EN                           = (0x1 << 0),
	MAX98927_Measurement_enables_IVADC_I_EN                           = (0x1 << 1),


	MAX98927_Measurement_DSP_Config                                   = 0x003f,
	MAX98927_Measurement_DSP_Config_MEAS_V_DCBLK_EN                   = (0x1 << 0),
	MAX98927_Measurement_DSP_Config_MEAS_I_DCBLK_EN                   = (0x1 << 1),
	MAX98927_Measurement_DSP_Config_MEAS_DITH_EN                      = (0x1 << 2),
	MAX98927_Measurement_DSP_Config_MEAS_V_DCBLK_Mask                 = (0x3 << 4),


	MAX98927_Measurement_DSP_Config_MEAS_V_DCBLK_01                   = (0x0 << 4),
	MAX98927_Measurement_DSP_Config_MEAS_V_DCBLK_11                   = (0x2 << 4),
	MAX98927_Measurement_DSP_Config_MEAS_I_DCBLK_Mask                 = (0x3 << 6),


	MAX98927_Measurement_DSP_Config_MEAS_I_DCBLK_01                   = (0x0 << 6),
	MAX98927_Measurement_DSP_Config_MEAS_I_DCBLK_11                   = (0x2 << 6),


	MAX98927_Boost_Control_0                                          = 0x0040,

	MAX98927_Boost_Control_0_BST_VOUT_Mask                            = (0x1f << 0),
	MAX98927_Boost_Control_0_EXT_PVDD_EN                              = (0x1 << 7),


	MAX98927_Boost_Control_3                                          = 0x0041,
	MAX98927_Boost_Control_3_BST_SKIPLOAD_Mask                        = (0x3 << 0),


	MAX98927_Boost_Control_3_BST_SKIPLOAD_01                          = (0x0 << 0),
	MAX98927_Boost_Control_3_BST_SKIPLOAD_11                          = (0x2 << 0),
	MAX98927_Boost_Control_3_BST_PHASE_Mask                           = (0x7 << 2),


	MAX98927_Boost_Control_3_BST_PHASE_001                            = (0x0 << 2),
	MAX98927_Boost_Control_3_BST_PHASE_011                            = (0x2 << 2),
	MAX98927_Boost_Control_3_BST_PHASE_                               = (0x1 << 2),
	MAX98927_Boost_Control_3_BST_SLOWSTART                            = (0x1 << 5),


	MAX98927_Boost_Control_1                                          = 0x0042,

	MAX98927_Boost_Control_1_BST_ILIM_Mask                            = (0x1f << 1),


	MAX98927_Meas_ADC_Config                                          = 0x0043,
	MAX98927_Meas_ADC_Config_MEAS_ADC_CH0_EN                          = (0x1 << 0),
	MAX98927_Meas_ADC_Config_MEAS_ADC_CH1_EN                          = (0x1 << 1),
	MAX98927_Meas_ADC_Config_MEAS_ADC_CH2_EN                          = (0x1 << 2),


	MAX98927_Meas_ADC_Base_Divide_MSByte                              = 0x0044,

	MAX98927_Meas_ADC_Base_Divide_MSByte_MEAS_ADC_BASE_DIV_Mask       = (0xff << 0),


	MAX98927_Meas_ADC_Base_Divide_LSByte                              = 0x0045,

	MAX98927_Meas_ADC_Base_Divide_LSByte_MEAS_ADC_BASE_DIV_Mask       = (0xff << 0),


	MAX98927_Meas_ADC_Chan_0_Divide                                   = 0x0046,

	MAX98927_Meas_ADC_Chan_0_Divide_MEAS_ADC_CH0_DIV_Mask             = (0xff << 0),


	MAX98927_Meas_ADC_Chan_1_Divide                                   = 0x0047,

	MAX98927_Meas_ADC_Chan_1_Divide_MEAS_ADC_CH1_DIV_Mask             = (0xff << 0),


	MAX98927_Meas_ADC_Chan_2_Divide                                   = 0x0048,

	MAX98927_Meas_ADC_Chan_2_Divide_MEAS_ADC_CH2_DIV_Mask             = (0xff << 0),


	MAX98927_Meas_ADC_Chan_0_Filt_Config                              = 0x0049,
	MAX98927_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_Mask   = (0x7 << 0),


	MAX98927_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_001    = (0x0 << 0),
	MAX98927_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_011    = (0x2 << 0),
	MAX98927_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_101  = (0x4 << 0),
	MAX98927_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_EN         = (0x1 << 3),


	MAX98927_Meas_ADC_Chan_1_Filt_Config                              = 0x004a,
	MAX98927_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_Mask   = (0x7 << 0),


	MAX98927_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_001    = (0x0 << 0),
	MAX98927_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_011    = (0x2 << 0),
	MAX98927_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_101  = (0x4 << 0),
	MAX98927_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_EN         = (0x1 << 3),


	MAX98927_Meas_ADC_Chan_2_Filt_Config                              = 0x004b,
	MAX98927_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_Mask   = (0x7 << 0),


	MAX98927_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_001    = (0x0 << 0),
	MAX98927_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_011    = (0x2 << 0),
	MAX98927_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_101  = (0x4 << 0),
	MAX98927_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_EN         = (0x1 << 3),


	MAX98927_Meas_ADC_Chan_0_Readback                                 = 0x004c,

	MAX98927_Meas_ADC_Chan_0_Readback_MEAS_ADC_CH0_DATA_Mask          = (0xff << 0),


	MAX98927_Meas_ADC_Chan_1_Readback                                 = 0x004d,

	MAX98927_Meas_ADC_Chan_1_Readback_MEAS_ADC_CH1_DATA_Mask          = (0xff << 0),


	MAX98927_Meas_ADC_Chan_2_Readback                                 = 0x004e,

	MAX98927_Meas_ADC_Chan_2_Readback_MEAS_ADC_CH2_DATA_Mask          = (0xff << 0),


	MAX98927_Brownout_status                                          = 0x0051,
	MAX98927_Brownout_status_BDE_STATE_Mask                           = (0xf << 0),




	MAX98927_Brownout_enables                                         = 0x0052,
	MAX98927_Brownout_enables_BDE_EN                                  = (0x1 << 0),
	MAX98927_Brownout_enables_BDE_AMP_EN                              = (0x1 << 1),
	MAX98927_Brownout_enables_AMP_DSP_EN                              = (0x1 << 2),


	MAX98927_Brownout_level_infinite_hold                             = 0x0053,
	MAX98927_Brownout_level_infinite_hold_BDE_L8_INF_HLD              = (0x1 << 1),


	MAX98927_Brownout_level_infinite_hold_clear                       = 0x0054,
	MAX98927_Brownout_level_infinite_hold_clear_BDE_L8_HLD_RLS        = (0x1 << 1),


	MAX98927_Brownout_level_hold                                      = 0x0055,

	MAX98927_Brownout_level_hold_BDE_HLD_Mask                         = (0xff << 0),


	MAX98927_Brownout__level_1_threshold                              = 0x005a,

	MAX98927_Brownout__level_1_threshold_BDE_L1_VTHRESH_Mask          = (0xff << 0),


	MAX98927_Brownout__level_2_threshold                              = 0x005b,

	MAX98927_Brownout__level_2_threshold_BDE_L2_VTHRESH_Mask          = (0xff << 0),


	MAX98927_Brownout__level_3_threshold                              = 0x005c,

	MAX98927_Brownout__level_3_threshold_BDE_L3_VTHRESH_Mask          = (0xff << 0),


	MAX98927_Brownout__level_4_threshold                              = 0x005d,

	MAX98927_Brownout__level_4_threshold_BDE_L4_VTHRESH_Mask          = (0xff << 0),


	MAX98927_Brownout_threshold_hysterysis                            = 0x005e,

	MAX98927_Brownout_threshold_hysterysis_BDE_VTHRESH_HYST_Mask      = (0xff << 0),


	MAX98927_Brownout_AMP_limiter_attack_release                      = 0x005f,
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_Mask     = (0xf << 0),


	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0001     = (0x0 << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0011     = (0x2 << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0101     = (0x4 << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0111     = (0x6 << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1001     = (0x8 << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1011     = (0xa << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1101     = (0xc << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1111     = (0xe << 0),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_Mask     = (0xf << 4),


	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0001     = (0x0 << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0011     = (0x2 << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0101     = (0x4 << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0111     = (0x6 << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1001     = (0x8 << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1011     = (0xa << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1101     = (0xc << 4),
	MAX98927_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1111     = (0xe << 4),


	MAX98927_Brownout_AMP_gain_attack_release                         = 0x0060,
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_Mask       = (0xf << 0),


	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0001       = (0x0 << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0011       = (0x2 << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0101       = (0x4 << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0111       = (0x6 << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1001       = (0x8 << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1011       = (0xa << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1101       = (0xc << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1111       = (0xe << 0),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_Mask       = (0xf << 4),


	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0001       = (0x0 << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0011       = (0x2 << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0101       = (0x4 << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0111       = (0x6 << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1001       = (0x8 << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1011       = (0xa << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1101       = (0xc << 4),
	MAX98927_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1111       = (0xe << 4),


	MAX98927_Brownout_AMP1_clip_mode                                  = 0x0061,
	MAX98927_Brownout_AMP1_clip_mode_AMP_CLIP_MODE                    = (0x1 << 0),


	MAX98927_Brownout__level_1_current_limit                          = 0x0072,

	MAX98927_Brownout__level_1_current_limit_BDE_L1_ILIM_Mask         = (0x3f << 0),


	MAX98927_Brownout__level_1_amp_1_control_1                        = 0x0073,
	MAX98927_Brownout__level_1_amp_1_control_1_BDE_L1_AMP1_LIM_Mask   = (0xf << 0),




	MAX98927_Brownout__level_1_amp_1_control_2                        = 0x0074,

	MAX98927_Brownout__level_1_amp_1_control_2_BDE_L1_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_1_amp_1_control_3                        = 0x0075,

	MAX98927_Brownout__level_1_amp_1_control_3_BDE_L1_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_2_current_limit                          = 0x0076,

	MAX98927_Brownout__level_2_current_limit_BDE_L2_ILIM_Mask         = (0x3f << 0),


	MAX98927_Brownout__level_2_amp_1_control_1                        = 0x0077,
	MAX98927_Brownout__level_2_amp_1_control_1_BDE_L2_AMP1_LIM_Mask   = (0xf << 0),




	MAX98927_Brownout__level_2_amp_1_control_2                        = 0x0078,

	MAX98927_Brownout__level_2_amp_1_control_2_BDE_L2_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_2_amp_1_control_3                        = 0x0079,

	MAX98927_Brownout__level_2_amp_1_control_3_BDE_L2_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_3_current_limit                          = 0x007a,

	MAX98927_Brownout__level_3_current_limit_BDE_L3_ILIM_Mask         = (0x3f << 0),


	MAX98927_Brownout__level_3_amp_1_control_1                        = 0x007b,
	MAX98927_Brownout__level_3_amp_1_control_1_BDE_L3_AMP1_LIM_Mask   = (0xf << 0),




	MAX98927_Brownout__level_3_amp_1_control_2                        = 0x007c,

	MAX98927_Brownout__level_3_amp_1_control_2_BDE_L3_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_3_amp_1_control_3                        = 0x007d,

	MAX98927_Brownout__level_3_amp_1_control_3_BDE_L3_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_4_current_limit                          = 0x007e,

	MAX98927_Brownout__level_4_current_limit_BDE_L4_ILIM_Mask         = (0x3f << 0),


	MAX98927_Brownout__level_4_amp_1_control_1                        = 0x007f,
	MAX98927_Brownout__level_4_amp_1_control_1_BDE_L4_AMP1_LIM_Mask   = (0xf << 0),




	MAX98927_Brownout__level_4_amp_1_control_2                        = 0x0080,

	MAX98927_Brownout__level_4_amp_1_control_2_BDE_L4_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98927_Brownout__level_4_amp_1_control_3                        = 0x0081,

	MAX98927_Brownout__level_4_amp_1_control_3_BDE_L4_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98927_Env_Tracker_Vout_Headroom                                = 0x0082,

	MAX98927_Env_Tracker_Vout_Headroom_ENV_TRACKER_BST_VOUT_HEADROOM_Mask = (0x1f << 0),


	MAX98927_Env_Tracker_Boost_Vout_Delay                             = 0x0083,

	MAX98927_Env_Tracker_Boost_Vout_Delay_ENV_TRACKER_BST_VOUT_DELAY_Mask = (0x1f << 0),
	MAX98927_Env_Tracker_Boost_Vout_Delay_ENV_TRACKER_BDE_MODE        = (0x1 << 7),


	MAX98927_Env_Tracker_Release_Rate                                 = 0x0084,
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_Mask       = (0x7 << 0),


	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_001        = (0x0 << 0),
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_011        = (0x2 << 0),
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_101        = (0x4 << 0),
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_111        = (0x6 << 0),
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_PEAK_DET_LPF_BYP_EN = (0x1 << 3),
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_SCALE_Mask = (0x3 << 4),


	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_SCALE_01   = (0x0 << 4),
	MAX98927_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_SCALE_11   = (0x2 << 4),


	MAX98927_Env_Tracker_Hold_Rate                                    = 0x0085,
	MAX98927_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_Mask         = (0x7 << 0),


	MAX98927_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_001          = (0x0 << 0),
	MAX98927_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_011          = (0x2 << 0),
	MAX98927_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_101          = (0x4 << 0),
	MAX98927_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_111          = (0x6 << 0),


	MAX98927_Env_Tracker_Control                                      = 0x0086,
	MAX98927_Env_Tracker_Control_ENV_TRACKER_EN                       = (0x1 << 0),


	MAX98927_Env_Tracker__Boost_Vout_ReadBack                         = 0x0087,

	MAX98927_Env_Tracker__Boost_Vout_ReadBack_ENV_TRACKER_BST_VOUT_RD_Mask = (0x1f << 0),


	MAX98927_Global_Enable                                            = 0x00ff,
	MAX98927_Global_Enable_EN                                         = (0x1 << 0),

	MAX98927_Software_Reset                                           = 0x0100,
	MAX98927_Software_Reset_RST                                       = (0x1 << 0),


	MAX98927_REV_ID                                                   = 0x01ff,

	MAX98927_REV_ID_REV_ID_Mask                                       = (0xff << 0),


} MAX98927Registers;


typedef enum
{

	MAX98937_Interrupt_Raw_1                                          = 0x0001,
	MAX98937_Interrupt_Raw_1_BDE_ACTIVE_END_RAW                       = (0x1 << 0),
	MAX98937_Interrupt_Raw_1_BDE_ACTIVE_BGN_RAW                       = (0x1 << 1),
	MAX98937_Interrupt_Raw_1_BDE_LEVEL_CHANGE_RAW                     = (0x1 << 2),
	MAX98937_Interrupt_Raw_1_BDE_L8_RAW                               = (0x1 << 3),
	MAX98937_Interrupt_Raw_1_THERMWARN_END_RAW                        = (0x1 << 4),
	MAX98937_Interrupt_Raw_1_THERMWARN_START_RAW                      = (0x1 << 5),
	MAX98937_Interrupt_Raw_1_THERMSHDN_END_RAW                        = (0x1 << 6),
	MAX98937_Interrupt_Raw_1_THERMSHDN_START_RAW                      = (0x1 << 7),


	MAX98937_Interrupt_Raw_2                                          = 0x0002,
	MAX98937_Interrupt_Raw_2_WATCHDOGWARN_RAW                         = (0x1 << 0),
	MAX98937_Interrupt_Raw_2_WATCHDOGFAIL_RAW                         = (0x1 << 1),
	MAX98937_Interrupt_Raw_2_BOOSTCURRLIM_RAW                         = (0x1 << 2),
	MAX98937_Interrupt_Raw_2_CLKSTOP_RAW                              = (0x1 << 3),
	MAX98937_Interrupt_Raw_2_CLKSTART_RAW                             = (0x1 << 4),
	MAX98937_Interrupt_Raw_2_MEASADC_END_RAW                          = (0x1 << 5),
	MAX98937_Interrupt_Raw_2_PWRDN_DONE_RAW                           = (0x1 << 6),
	MAX98937_Interrupt_Raw_2_PWRUP_DONE_RAW                           = (0x1 << 7),


	MAX98937_Interrupt_Raw_3                                          = 0x0003,
	MAX98937_Interrupt_Raw_3_PWRUP_FAIL_RAW                           = (0x1 << 0),
	MAX98937_Interrupt_Raw_3_AUTH_DONE_RAW                            = (0x1 << 1),
	MAX98937_Interrupt_Raw_3_SPK_OVC_RAW                              = (0x1 << 2),
	MAX98937_Interrupt_Raw_3_BST_UVLO_RAW                             = (0x1 << 3),


	MAX98937_Interrupt_State_1                                        = 0x0004,
	MAX98937_Interrupt_State_1_BDE_ACTIVE_END_STATE                   = (0x1 << 0),
	MAX98937_Interrupt_State_1_BDE_ACTIVE_BGN_STATE                   = (0x1 << 1),
	MAX98937_Interrupt_State_1_BDE_LEVEL_CHANGE_STATE                 = (0x1 << 2),
	MAX98937_Interrupt_State_1_BDE_L8_STATE                           = (0x1 << 3),
	MAX98937_Interrupt_State_1_THERMWARN_END_STATE                    = (0x1 << 4),
	MAX98937_Interrupt_State_1_THERMWARN_START_STATE                  = (0x1 << 5),
	MAX98937_Interrupt_State_1_THERMSHDN_END_STATE                    = (0x1 << 6),
	MAX98937_Interrupt_State_1_THERMSHDN_START_STATE                  = (0x1 << 7),


	MAX98937_Interrupt_State_2                                        = 0x0005,
	MAX98937_Interrupt_State_2_WATCHDOGWARN_STATE                     = (0x1 << 0),
	MAX98937_Interrupt_State_2_WATCHDOGFAIL_STATE                     = (0x1 << 1),
	MAX98937_Interrupt_State_2_BOOSTCURRLIM_STATE                     = (0x1 << 2),
	MAX98937_Interrupt_State_2_CLKSTOP_STATE                          = (0x1 << 3),
	MAX98937_Interrupt_State_2_CLKSTART_STATE                         = (0x1 << 4),
	MAX98937_Interrupt_State_2_MEASADC_END_STATE                      = (0x1 << 5),
	MAX98937_Interrupt_State_2_PWRDN_DONE_STATE                       = (0x1 << 6),
	MAX98937_Interrupt_State_2_PWRUP_DONE_STATE                       = (0x1 << 7),


	MAX98937_Interrupt_State_3                                        = 0x0006,
	MAX98937_Interrupt_State_3_PWRUP_FAIL_STATE                       = (0x1 << 0),
	MAX98937_Interrupt_State_3_AUTH_DONE_STATE                        = (0x1 << 1),
	MAX98937_Interrupt_State_3_SPK_OVC_STATE                          = (0x1 << 2),
	MAX98937_Interrupt_State_3_BST_UVLO_STATE                         = (0x1 << 3),


	MAX98937_Interrupt_Flag_1                                         = 0x0007,
	MAX98937_Interrupt_Flag_1_BDE_ACTIVE_END_FLAG                     = (0x1 << 0),
	MAX98937_Interrupt_Flag_1_BDE_ACTIVE_BGN_FLAG                     = (0x1 << 1),
	MAX98937_Interrupt_Flag_1_BDE_LEVEL_CHANGE_FLAG                   = (0x1 << 2),
	MAX98937_Interrupt_Flag_1_BDE_L8_FLAG                             = (0x1 << 3),
	MAX98937_Interrupt_Flag_1_THERMWARN_END_FLAG                      = (0x1 << 4),
	MAX98937_Interrupt_Flag_1_THERMWARN_START_FLAG                    = (0x1 << 5),
	MAX98937_Interrupt_Flag_1_THERMSHDN_END_FLAG                      = (0x1 << 6),
	MAX98937_Interrupt_Flag_1_THERMSHDN_START_FLAG                    = (0x1 << 7),


	MAX98937_Interrupt_Flag_2                                         = 0x0008,
	MAX98937_Interrupt_Flag_2_WATCHDOGWARN_FLAG                       = (0x1 << 0),
	MAX98937_Interrupt_Flag_2_WATCHDOGFAIL_FLAG                       = (0x1 << 1),
	MAX98937_Interrupt_Flag_2_BOOSTCURRLIM_FLAG                       = (0x1 << 2),
	MAX98937_Interrupt_Flag_2_CLKSTOP_FLAG                            = (0x1 << 3),
	MAX98937_Interrupt_Flag_2_CLKSTART_FLAG                           = (0x1 << 4),
	MAX98937_Interrupt_Flag_2_MEASADC_END_FLAG                        = (0x1 << 5),
	MAX98937_Interrupt_Flag_2_PWRDN_DONE_FLAG                         = (0x1 << 6),
	MAX98937_Interrupt_Flag_2_PWRUP_DONE_FLAG                         = (0x1 << 7),


	MAX98937_Interrupt_Flag_3                                         = 0x0009,
	MAX98937_Interrupt_Flag_3_PWRUP_FAIL_FLAG                         = (0x1 << 0),
	MAX98937_Interrupt_Flag_3_AUTH_DONE_FLAG                          = (0x1 << 1),
	MAX98937_Interrupt_Flag_3_SPK_OVC_FLAG                            = (0x1 << 2),
	MAX98937_Interrupt_Flag_3_BST_UVLO_FLAG                           = (0x1 << 3),


	MAX98937_Interrupt_Enable_1                                       = 0x000a,
	MAX98937_Interrupt_Enable_1_BDE_ACTIVE_END_EN                     = (0x1 << 0),
	MAX98937_Interrupt_Enable_1_BDE_ACTIVE_BGN_EN                     = (0x1 << 1),
	MAX98937_Interrupt_Enable_1_BDE_LEVEL_CHANGE_EN                   = (0x1 << 2),
	MAX98937_Interrupt_Enable_1_BDE_L8_EN                             = (0x1 << 3),
	MAX98937_Interrupt_Enable_1_THERMWARN_END_EN                      = (0x1 << 4),
	MAX98937_Interrupt_Enable_1_THERMWARN_START_EN                    = (0x1 << 5),
	MAX98937_Interrupt_Enable_1_THERMSHDN_END_EN                      = (0x1 << 6),
	MAX98937_Interrupt_Enable_1_THERMSHDN_START_EN                    = (0x1 << 7),


	MAX98937_Interrupt_Enable_2                                       = 0x000b,
	MAX98937_Interrupt_Enable_2_WATCHDOGWARN_EN                       = (0x1 << 0),
	MAX98937_Interrupt_Enable_2_WATCHDOGFAIL_EN                       = (0x1 << 1),
	MAX98937_Interrupt_Enable_2_BOOSTCURRLIM_EN                       = (0x1 << 2),
	MAX98937_Interrupt_Enable_2_CLKSTOP_EN                            = (0x1 << 3),
	MAX98937_Interrupt_Enable_2_CLKSTART_EN                           = (0x1 << 4),
	MAX98937_Interrupt_Enable_2_MEASADC_END_EN                        = (0x1 << 5),
	MAX98937_Interrupt_Enable_2_PWRDN_DONE_EN                         = (0x1 << 6),
	MAX98937_Interrupt_Enable_2_PWRUP_DONE_EN                         = (0x1 << 7),


	MAX98937_Interrupt_Enable_3                                       = 0x000c,
	MAX98937_Interrupt_Enable_3_PWRUP_FAIL_EN                         = (0x1 << 0),
	MAX98937_Interrupt_Enable_3_AUTH_DONE_EN                          = (0x1 << 1),
	MAX98937_Interrupt_Enable_3_SPK_OVC_EN                            = (0x1 << 2),
	MAX98937_Interrupt_Enable_3_BST_UVLO_EN                           = (0x1 << 3),


	MAX98937_Interrupt_Flag_Clear_1                                   = 0x000d,
	MAX98937_Interrupt_Flag_Clear_1_BDE_ACTIVE_END_CLR                = (0x1 << 0),
	MAX98937_Interrupt_Flag_Clear_1_BDE_ACTIVE_BGN_CLR                = (0x1 << 1),
	MAX98937_Interrupt_Flag_Clear_1_BDE_LEVEL_CHANGE_CLR              = (0x1 << 2),
	MAX98937_Interrupt_Flag_Clear_1_BDE_L8_CLR                        = (0x1 << 3),
	MAX98937_Interrupt_Flag_Clear_1_THERMWARN_END_CLR                 = (0x1 << 4),
	MAX98937_Interrupt_Flag_Clear_1_THERMWARN_START_CLR               = (0x1 << 5),
	MAX98937_Interrupt_Flag_Clear_1_THERMSHDN_END_CLR                 = (0x1 << 6),
	MAX98937_Interrupt_Flag_Clear_1_THERMSHDN_START_CLR               = (0x1 << 7),


	MAX98937_Interrupt_Flag_Clear_2                                   = 0x000e,
	MAX98937_Interrupt_Flag_Clear_2_WATCHDOGWARN_CLR                  = (0x1 << 0),
	MAX98937_Interrupt_Flag_Clear_2_WATCHDOGFAIL_CLR                  = (0x1 << 1),
	MAX98937_Interrupt_Flag_Clear_2_BOOSTCURRLIM_CLR                  = (0x1 << 2),
	MAX98937_Interrupt_Flag_Clear_2_CLKSTOP_CLR                       = (0x1 << 3),
	MAX98937_Interrupt_Flag_Clear_2_CLKSTART_CLR                      = (0x1 << 4),
	MAX98937_Interrupt_Flag_Clear_2_MEASADC_END_CLR                   = (0x1 << 5),
	MAX98937_Interrupt_Flag_Clear_2_PWRDN_DONE_CLR                    = (0x1 << 6),
	MAX98937_Interrupt_Flag_Clear_2_PWRUP_DONE_CLR                    = (0x1 << 7),


	MAX98937_Interrupt_Flag_Clear_3                                   = 0x000f,
	MAX98937_Interrupt_Flag_Clear_3_PWRUP_FAIL_CLR                    = (0x1 << 0),
	MAX98937_Interrupt_Flag_Clear_3_AUTH_DONE_CLR                     = (0x1 << 1),
	MAX98937_Interrupt_Flag_Clear_3_SPK_OVC_CLR                       = (0x1 << 2),
	MAX98937_Interrupt_Flag_Clear_3_BST_UVLO_CLR                      = (0x1 << 3),


	MAX98937_IRQ_Control                                              = 0x0010,
	MAX98937_IRQ_Control_IRQ_EN                                       = (0x1 << 0),
	MAX98937_IRQ_Control_IRQ_POL                                      = (0x1 << 1),
	MAX98937_IRQ_Control_IRQ_MODE                                     = (0x1 << 2),


	MAX98937_Clock_monitor_enable                                     = 0x0011,
	MAX98937_Clock_monitor_enable_CMON_ENA                            = (0x1 << 0),
	MAX98937_Clock_monitor_enable_CMON_AUTORESTART_ENA                = (0x1 << 1),


	MAX98937_Watchdog_Control                                         = 0x0012,
	MAX98937_Watchdog_Control_WDT_ENA                                 = (0x1 << 0),
	MAX98937_Watchdog_Control_WDT_MODE                                = (0x1 << 1),
	MAX98937_Watchdog_Control_WDT_TO_SEL_Mask                         = (0x3 << 2),

	MAX98937_Watchdog_Control_WDT_TO_SEL_5                            = (0x0 << 2),
	MAX98937_Watchdog_Control_WDT_TO_SEL_10                           = (0x1 << 2),
	MAX98937_Watchdog_Control_WDT_TO_SEL_35                           = (0x2 << 2),
	MAX98937_Watchdog_Control_WDT_TO_SEL_50                           = (0x3 << 2),
	MAX98937_Watchdog_Control_WDT_HW_SOURCE                           = (0x1 << 4),


	MAX98937_Watchdog_SW_Reset                                        = 0x0013,

	MAX98937_Watchdog_SW_Reset_WDT_SW_RST_Mask                        = (0xff << 0),


	MAX98937_Meas_ADC_Thermal_Warning_Threshhold                      = 0x0014,

	MAX98937_Meas_ADC_Thermal_Warning_Threshhold_MEAS_ADC_WARN_THRESH_Mask = (0xff << 0),


	MAX98937_Meas_ADC_Thermal_Shutdown_Threshhold                     = 0x0015,

	MAX98937_Meas_ADC_Thermal_Shutdown_Threshhold_MEAS_ADC_SHDN_THRESH_Mask = (0xff << 0),


	MAX98937_Meas_ADC_Thermal_Hysteresis                              = 0x0016,

	MAX98937_Meas_ADC_Thermal_Hysteresis_MEAS_ADC_THERM_HYST_Mask     = (0x1f << 0),


	MAX98937_Pin_Config                                               = 0x0017,
	MAX98937_Pin_Config_DOUT_DRV_Mask                                 = (0x3 << 0),


	MAX98937_Pin_Config_DOUT_DRV_01                                   = (0x0 << 0),
	MAX98937_Pin_Config_DOUT_DRV_11                                   = (0x2 << 0),
	MAX98937_Pin_Config_BCLK_DRV_Mask                                 = (0x3 << 2),


	MAX98937_Pin_Config_BCLK_DRV_01                                   = (0x0 << 2),
	MAX98937_Pin_Config_BCLK_DRV_11                                   = (0x2 << 2),
	MAX98937_Pin_Config_LRCLK_DRV_Mask                                = (0x3 << 4),


	MAX98937_Pin_Config_LRCLK_DRV_01                                  = (0x0 << 4),
	MAX98937_Pin_Config_LRCLK_DRV_11                                  = (0x2 << 4),
	MAX98937_Pin_Config_ICC_DRV_Mask                                  = (0x3 << 6),


	MAX98937_Pin_Config_ICC_DRV_01                                    = (0x0 << 6),
	MAX98937_Pin_Config_ICC_DRV_11                                    = (0x2 << 6),


	MAX98937_PCM_Rx_Enables_A                                         = 0x0018,
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH0_EN                           = (0x1 << 0),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH1_EN                           = (0x1 << 1),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH2_EN                           = (0x1 << 2),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH3_EN                           = (0x1 << 3),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH4_EN                           = (0x1 << 4),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH5_EN                           = (0x1 << 5),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH6_EN                           = (0x1 << 6),
	MAX98937_PCM_Rx_Enables_A_PCM_RX_CH7_EN                           = (0x1 << 7),


	MAX98937_PCM_Rx_Enables_B                                         = 0x0019,
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH8_EN                           = (0x1 << 0),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH9_EN                           = (0x1 << 1),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH10_EN                          = (0x1 << 2),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH11_EN                          = (0x1 << 3),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH12_EN                          = (0x1 << 4),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH13_EN                          = (0x1 << 5),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH14_EN                          = (0x1 << 6),
	MAX98937_PCM_Rx_Enables_B_PCM_RX_CH15_EN                          = (0x1 << 7),


	MAX98937_PCM_Tx_Enables_A                                         = 0x001a,
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH0_EN                           = (0x1 << 0),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH1_EN                           = (0x1 << 1),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH2_EN                           = (0x1 << 2),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH3_EN                           = (0x1 << 3),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH4_EN                           = (0x1 << 4),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH5_EN                           = (0x1 << 5),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH6_EN                           = (0x1 << 6),
	MAX98937_PCM_Tx_Enables_A_PCM_TX_CH7_EN                           = (0x1 << 7),


	MAX98937_PCM_Tx_Enables_B                                         = 0x001b,
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH8_EN                           = (0x1 << 0),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH9_EN                           = (0x1 << 1),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH10_EN                          = (0x1 << 2),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH11_EN                          = (0x1 << 3),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH12_EN                          = (0x1 << 4),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH13_EN                          = (0x1 << 5),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH14_EN                          = (0x1 << 6),
	MAX98937_PCM_Tx_Enables_B_PCM_TX_CH15_EN                          = (0x1 << 7),


	MAX98937_PCM_Tx_HiZ_Control_A                                     = 0x001c,
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH0_HIZ                      = (0x1 << 0),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH1_HIZ                      = (0x1 << 1),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH2_HIZ                      = (0x1 << 2),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH3_HIZ                      = (0x1 << 3),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH4_HIZ                      = (0x1 << 4),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH5_HIZ                      = (0x1 << 5),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH6_HIZ                      = (0x1 << 6),
	MAX98937_PCM_Tx_HiZ_Control_A_PCM_TX_CH7_HIZ                      = (0x1 << 7),


	MAX98937_PCM_Tx_HiZ_Control_B                                     = 0x001d,
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH8_HIZ                      = (0x1 << 0),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH9_HIZ                      = (0x1 << 1),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH10_HIZ                     = (0x1 << 2),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH11_HIZ                     = (0x1 << 3),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH12_HIZ                     = (0x1 << 4),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH13_HIZ                     = (0x1 << 5),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH14_HIZ                     = (0x1 << 6),
	MAX98937_PCM_Tx_HiZ_Control_B_PCM_TX_CH15_HIZ                     = (0x1 << 7),


	MAX98937_PCM_Tx_DOUT_Control_1                                    = 0x001e,
	MAX98937_PCM_TX_IV_SHARE			               				  = (0x1 << 7),
	MAX98937_PCM_TX_INTERLEAVE                                        = (0x1 << 6),
	MAX98937_PCM_START_SLOT_MASK                                      = (0x1f << 0),


	MAX98937_PCM_Tx_DOUT_Control_2                                    = 0x001f,
	MAX98937_PCM_VBAT_EN                                              = (0x1 << 5),
	MAX98937_PCM_PVDD_EN                                              = (0x1 << 4),
	MAX98937_PCM_CHIP_STATUS_EN                                       = (0x1 << 3),
	MAX98937_PCM_AMP_DSP_EN                                           = (0x1 << 2),
	MAX98937_PCM_I_EN                                                 = (0x1 << 1),
	MAX98937_PCM_V_EN                                                 = (0x1 << 0),




	MAX98937_PCM_STATUS_WORD_CONFIG_0                                 = 0x0020,
	MAX98937_PCM_STATUS_THERMSHDN_END                                 = (0x1 << 7),
	MAX98937_PCM_STATUS_THERMSHDN_START                               = (0x1 << 6),
	MAX98937_PCM_STATUS_THERMWARN_END                                 = (0x1 << 5),
	MAX98937_PCM_STATUS_THERMWARN_START                               = (0x1 << 4),
	MAX98937_PCM_STATUS_BDE_L4                                        = (0x1 << 3),
	MAX98937_PCM_STATUS_BDE_LEVEL                                     = (0x1 << 2),
	MAX98937_PCM_STATUS_ACTIVE_END                                    = (0x1 << 1),
	MAX98937_PCM_STATUS_ACTIVE_BGN                                    = (0x1 << 0),


	MAX98937_PCM_STATUS_WORD_CONFIG_1                                 = 0x0021,
	MAX98937_PCM_STATUS_SPK_OVC                                       = (0x1 << 7),
	MAX98937_PCM_STATUS_PWRUP_DONE                                    = (0x1 << 5),
	MAX98937_PCM_STATUS_BST_ILIM                                      = (0x1 << 0),


	MAX98937_PCM_STATUS_WORD_CONFIG_2                                 = 0x0022,
	MAX98937_PCM_STATUS_CURRENT_BDE_LEVEL                             = (0x1 << 7),
	MAX98937_PCM_STATUS_BST_UVLO                                      = (0x1 << 0),


	MAX98937_PCM_Mode_Config                                          = 0x0023,
	MAX98937_PCM_Mode_Config_PCM_TX_EXTRA_HIZ                         = (0x1 << 0),
	MAX98937_PCM_Mode_Config_PCM_CHANSEL                              = (0x1 << 1),
	MAX98937_PCM_Mode_Config_PCM_BCLKEDGE                             = (0x1 << 2),
	MAX98937_PCM_Mode_Config_PCM_FORMAT_Mask                          = (0x7 << 3),


	MAX98937_PCM_Mode_Config_PCM_FORMAT_I2S                           = (0x0 << 3),
	MAX98937_PCM_Mode_Config_PCM_FORMAT_LEFT                          = (0x1 << 3),
	MAX98937_PCM_Mode_Config_PCM_FORMAT_TDM_0                         = (0x3 << 3),
	MAX98937_PCM_Mode_Config_PCM_FORMAT_TDM_1                         = (0x4 << 3),
	MAX98937_PCM_Mode_Config_PCM_FORMAT_TDM_2                         = (0x5 << 3),
	MAX98937_PCM_Mode_Config_PCM_FORMAT_                              = (0x6 << 3),
	MAX98937_PCM_Mode_Config_PCM_CHANSZ_Mask                          = (0x3 << 6),


	MAX98937_PCM_Mode_Config_PCM_CHANSZ_16                            = (0x1 << 6),
	MAX98937_PCM_Mode_Config_PCM_CHANSZ_24                            = (0x2 << 6),
	MAX98937_PCM_Mode_Config_PCM_CHANSZ_32                            = (0x3 << 6),


	MAX98937_PCM_Master_Mode                                          = 0x0024,
	MAX98937_PCM_Master_Mode_PCM_MSTR_MODE_Mask                       = (0x3 << 0),


	MAX98937_PCM_Master_Mode_PCM_MSTR_MODE_SLAVE                         = (0x0 << 0),
	MAX98937_PCM_Master_Mode_PCM_MSTR_MODE_MASTER                        = (0x3 << 0),
	MAX98937_PCM_Master_Mode_PCM_MSTR_MODE_HYBRID                        = (0x1 << 0),
	MAX98937_PCM_Master_Mode_PCM_MCLK_RATE_Mask                       = (0xf << 2),


	MAX98937_PCM_Master_Mode_PCM_CLK_SOURCE                           = (0x1 << 6),


	MAX98937_PCM_Clock_setup                                          = 0x0025,
	MAX98937_PCM_Clock_setup_PCM_BSEL_Mask                            = (0xf << 0),


	MAX98937_PCM_Clock_setup_PCM_MSEL_Mask                            = (0xf << 4),




	MAX98937_PCM_Sample_rate_setup_1                                  = 0x0026,
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_Mask                   = (0xf << 0),


	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_8000                   = (0x0 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_11025                   = (0x1 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_12000                   = (0x2 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_16000                   = (0x3 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_22050                   = (0x4 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_24000                   = (0x5 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_32000                   = (0x6 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_44100                   = (0x7 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_48000                   = (0x8 << 0),
	MAX98937_PCM_Sample_rate_setup_1_DIG_IF_SR_96000                   = (0xa << 0),


	MAX98937_PCM_Sample_rate_setup_2                                  = 0x0027,
	MAX98937_PCM_Sample_rate_setup_2_IVADC_SR_Mask                    = (0xf << 0),


	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_Mask                      = (0xf << 4),


	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_0001                      = (0x0 << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_0011                      = (0x2 << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_0101                      = (0x4 << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_0111                      = (0x6 << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_1001                      = (0x8 << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_1011                      = (0xa << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_1101                      = (0xc << 4),
	MAX98937_PCM_Sample_rate_setup_2_SPK_SR_                          = (0xf << 4),


	MAX98937_PCM_to_speaker_monomix_A                                 = 0x0028,
	MAX98937_PCM_to_speaker_monomix_A_DMONOMIX_CH0_SOURCE_Mask        = (0xf << 0),


	MAX98937_PCM_to_speaker_monomix_A_DMONOMIX_CFG_Mask               = (0x3 << 6),


	MAX98937_PCM_to_speaker_monomix_A_DMONOMIX_CFG_1                  = (0x0 << 6),
	MAX98937_PCM_to_speaker_monomix_A_DMONOMIX_CFG_3                  = (0x0 << 6),


	MAX98937_PCM_to_speaker_monomix_B                                 = 0x0029,
	MAX98937_PCM_to_speaker_monomix_B_DMONOMIX_CH1_SOURCE_Mask        = (0xf << 0),




	MAX98937_ICC_RX_Enables_A                                         = 0x002a,
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH0_EN                           = (0x1 << 0),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH1_EN                           = (0x1 << 1),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH2_EN                           = (0x1 << 2),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH3_EN                           = (0x1 << 3),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH4_EN                           = (0x1 << 4),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH5_EN                           = (0x1 << 5),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH6_EN                           = (0x1 << 6),
	MAX98937_ICC_RX_Enables_A_ICC_RX_CH7_EN                           = (0x1 << 7),


	MAX98937_ICC_RX_Enables_B                                         = 0x002b,
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH8_EN                           = (0x1 << 0),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH9_EN                           = (0x1 << 1),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH10_EN                          = (0x1 << 2),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH11_EN                          = (0x1 << 3),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH12_EN                          = (0x1 << 4),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH13_EN                          = (0x1 << 5),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH14_EN                          = (0x1 << 6),
	MAX98937_ICC_RX_Enables_B_ICC_RX_CH15_EN                          = (0x1 << 7),


	MAX98937_ICC_TX_Enables_A                                         = 0x002c,
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH0_EN                           = (0x1 << 0),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH1_EN                           = (0x1 << 1),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH2_EN                           = (0x1 << 2),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH3_EN                           = (0x1 << 3),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH4_EN                           = (0x1 << 4),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH5_EN                           = (0x1 << 5),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH6_EN                           = (0x1 << 6),
	MAX98937_ICC_TX_Enables_A_ICC_TX_CH7_EN                           = (0x1 << 7),


	MAX98937_ICC_TX_Enables_B                                         = 0x002d,
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH8_EN                           = (0x1 << 0),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH9_EN                           = (0x1 << 1),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH10_EN                          = (0x1 << 2),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH11_EN                          = (0x1 << 3),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH12_EN                          = (0x1 << 4),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH13_EN                          = (0x1 << 5),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH14_EN                          = (0x1 << 6),
	MAX98937_ICC_TX_Enables_B_ICC_TX_CH15_EN                          = (0x1 << 7),


	MAX98937_ICC_HiZ_Manual_Mode                                      = 0x002e,
	MAX98937_ICC_HiZ_Manual_Mode_ICC_TX_HIZ_MANUAL                    = (0x1 << 0),
	MAX98937_ICC_HiZ_Manual_Mode_ICC_TX_EXTRA_HIZ                     = (0x1 << 1),


	MAX98937_ICC_TX_HiZ_Enables_A                                     = 0x002f,
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH0_HIZ                      = (0x1 << 0),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH1_HIZ                      = (0x1 << 1),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH2_HIZ                      = (0x1 << 2),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH3_HIZ                      = (0x1 << 3),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH4_HIZ                      = (0x1 << 4),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH5_HIZ                      = (0x1 << 5),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH6_HIZ                      = (0x1 << 6),
	MAX98937_ICC_TX_HiZ_Enables_A_ICC_TX_CH7_HIZ                      = (0x1 << 7),


	MAX98937_ICC_TX_HiZ_Enables_B                                     = 0x0030,
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH8_HIZ                      = (0x1 << 0),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH9_HIZ                      = (0x1 << 1),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH10_HIZ                     = (0x1 << 2),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH11_HIZ                     = (0x1 << 3),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH12_HIZ                     = (0x1 << 4),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH13_HIZ                     = (0x1 << 5),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH14_HIZ                     = (0x1 << 6),
	MAX98937_ICC_TX_HiZ_Enables_B_ICC_TX_CH15_HIZ                     = (0x1 << 7),


	MAX98937_ICC_Link_Enables                                         = 0x0031,
	MAX98937_ICC_Link_Enables_ICC_LINK_EN                             = (0x1 << 1),


	MAX98937_PDM_Tx_Enables                                           = 0x0032,
	MAX98937_PDM_Tx_Enables_PDM_TX_EN                                 = (0x1 << 0),
	MAX98937_PDM_Tx_Enables_PDM_TX_CLK_DIV2                           = (0x1 << 1),


	MAX98937_PDM_Tx_HiZ_Control                                       = 0x0033,
	MAX98937_PDM_Tx_HiZ_Control_PDM_TX_HIZ                            = (0x1 << 0),


	MAX98937_PDM_Tx_Control                                           = 0x0034,
	MAX98937_PDM_Tx_Control_PDM_TX_CH0_SOURCE                         = (0x1 << 0),
	MAX98937_PDM_Tx_Control_PDM_TX_CH1_SOURCE                         = (0x1 << 1),


	MAX98937_PDM_Rx_Enable                                            = 0x0035,
	MAX98937_PDM_Rx_Enable_PDM_RX_EN                                  = (0x1 << 0),
	MAX98937_PDM_Rx_Enable_PDM_DSP_EN                                 = (0x1 << 1),
	MAX98937_PDM_Rx_Enable_PDM_DITH_EN                                = (0x1 << 2),
	MAX98937_PDM_Rx_Enable_PDM_RX_CH_SEL                              = (0x1 << 3),
	MAX98937_PDM_Rx_Enable_PDM_FIFO_RDY_LVL_Mask                      = (0xf << 4),




	MAX98937_AMP_volume_control                                       = 0x0036,

	MAX98937_AMP_volume_control_AMP_VOL_Mask                          = (0x7f << 0),
	MAX98937_AMP_volume_control_AMP_VOL_SEL                           = (0x1 << 7),


	MAX98937_AMP_DSP_Config                                           = 0x0037,
	MAX98937_AMP_DSP_Config_AMP_DCBLK_EN                              = (0x1 << 0),
	MAX98937_AMP_DSP_Config_AMP_DITH_EN                               = (0x1 << 1),
	MAX98937_AMP_DSP_Config_DAC_HALF_REF_CURRENT                      = (0x1 << 2),
	MAX98937_AMP_DSP_Config_DAC_DOUBLE_RFB                            = (0x1 << 3),
	MAX98937_AMP_DSP_Config_AMP_VOL_RMP_BYPASS                        = (0x1 << 4),
	MAX98937_AMP_DSP_Config_DAC_INVERT                                = (0x1 << 5),


	MAX98937_Tone_Generator_and_DC_Config                             = 0x0038,
	MAX98937_Tone_Generator_and_DC_Config_TONE_CONFIG_Mask            = (0xf << 0),




	MAX98937_AMP_enables                                              = 0x0039,
	MAX98937_AMP_enable_DEM                                           = (0x1 << 7),
	MAX98937_AMP_DEM_OFF_TRIM                                         = (0x1 << 6),
	MAX98937_AMP_enables_SPK_EN                                       = (0x1 << 0),


	MAX98937_Speaker_source_select                                    = 0x003a,
	MAX98937_Speaker_source_select_SPK_SOURCE_Mask                    = (0x3 << 0),


	MAX98937_Speaker_source_select_SPK_SOURCE_01                      = (0x0 << 0),
	MAX98937_Speaker_source_select_SPK_SOURCE_11                      = (0x2 << 0),


	MAX98937_Speaker_Gain                                             = 0x003b,
	MAX98937_Speaker_Gain_SPK_PCM_GAIN_Mask                           = (0x7 << 0),


	MAX98937_Speaker_Gain_SPK_PCM_GAIN_001                            = (0x0 << 0),
	MAX98937_Speaker_Gain_SPK_PCM_GAIN_011                            = (0x2 << 0),
	MAX98937_Speaker_Gain_SPK_PCM_GAIN_101                            = (0x4 << 0),
	MAX98937_Speaker_Gain_SPK_PCM_GAIN_111                            = (0x6 << 0),
	MAX98937_Speaker_Gain_SPK_PDM_GAIN_Mask                           = (0x7 << 4),


	MAX98937_Speaker_Gain_SPK_PDM_GAIN_001                            = (0x0 << 4),
	MAX98937_Speaker_Gain_SPK_PDM_GAIN_011                            = (0x2 << 4),
	MAX98937_Speaker_Gain_SPK_PDM_GAIN_101                            = (0x4 << 4),
	MAX98937_Speaker_Gain_SPK_PDM_GAIN_111                            = (0x6 << 4),


	MAX98937_SSM_Configuration                                        = 0x003c,
	MAX98937_SSM_Configuration_SSM_MOD_INDEX_Mask                     = (0x7 << 0),


	MAX98937_SSM_Configuration_SSM_MOD_INDEX_001                      = (0x0 << 0),
	MAX98937_SSM_Configuration_SSM_MOD_INDEX_011                      = (0x2 << 0),
	MAX98937_SSM_Configuration_SSM_MOD_INDEX_101                      = (0x4 << 0),
	MAX98937_SSM_Configuration_SSM_MOD_INDEX_                         = (0x6 << 0),

	MAX98937_SSM_Configuration_SSM_EDGE_CTRL_Mask                     = (0x3 << 4),
	MAX98937_SSM_Configuration_SSM_ENA                                = (0x1 << 7),


	MAX98937_Measurement_enables                                      = 0x003d,
	MAX98937_Measurement_enables_IVADC_V_EN                           = (0x1 << 0),
	MAX98937_Measurement_enables_IVADC_I_EN                           = (0x1 << 1),


	MAX98937_Measurement_DSP_Config                                   = 0x003e,
	MAX98937_Measurement_DSP_Config_MEAS_V_DCBLK_EN                   = (0x1 << 0),
	MAX98937_Measurement_DSP_Config_MEAS_I_DCBLK_EN                   = (0x1 << 1),
	MAX98937_Measurement_DSP_Config_MEAS_DITH_EN                      = (0x1 << 2),
	MAX98937_Measurement_DSP_Config_MEAS_V_DCBLK_Mask                 = (0x3 << 4),


	MAX98937_Measurement_DSP_Config_MEAS_V_DCBLK_01                   = (0x0 << 4),
	MAX98937_Measurement_DSP_Config_MEAS_V_DCBLK_11                   = (0x2 << 4),
	MAX98937_Measurement_DSP_Config_MEAS_I_DCBLK_Mask                 = (0x3 << 6),


	MAX98937_Measurement_DSP_Config_MEAS_I_DCBLK_01                   = (0x0 << 6),
	MAX98937_Measurement_DSP_Config_MEAS_I_DCBLK_11                   = (0x2 << 6),


	MAX98937_Boost_Control_0                                          = 0x003f,

	MAX98937_Boost_Control_0_BST_VOUT_Mask                            = (0x1f << 0),
	MAX98937_Boost_Control_0_EXT_PVDD_EN                              = (0x1 << 7),


	MAX98937_Boost_Control_3                                          = 0x0040,
	MAX98937_Boost_Control_3_BST_SKIPLOAD_Mask                        = (0x3 << 0),


	MAX98937_Boost_Control_3_BST_SKIPLOAD_01                          = (0x0 << 0),
	MAX98937_Boost_Control_3_BST_SKIPLOAD_11                          = (0x2 << 0),
	MAX98937_Boost_Control_3_BST_PHASE_Mask                           = (0x7 << 2),


	MAX98937_Boost_Control_3_BST_PHASE_001                            = (0x0 << 2),
	MAX98937_Boost_Control_3_BST_PHASE_011                            = (0x2 << 2),
	MAX98937_Boost_Control_3_BST_PHASE_                               = (0x1 << 2),
	MAX98937_Boost_Control_3_BST_SLOWSTART                            = (0x1 << 5),
	MAX98937_Boost_Control_3_BST_IND_SEL                              = (0x1 << 7),


	MAX98937_Boost_Control_1                                          = 0x0041,

	MAX98937_Boost_Control_1_BST_ILIM_Mask                            = (0x3f << 0),
	MAX98937_Boost_Control_1_BST_SKIP_CONTROL                         = (0x1 << 7),


	MAX98937_Meas_ADC_Config                                          = 0x0042,
	MAX98937_Meas_ADC_Config_MEAS_ADC_CH0_EN                          = (0x1 << 0),
	MAX98937_Meas_ADC_Config_MEAS_ADC_CH1_EN                          = (0x1 << 1),
	MAX98937_Meas_ADC_Config_MEAS_ADC_CH2_EN                          = (0x1 << 2),


	MAX98937_Meas_ADC_Base_Divide_MSByte                              = 0x0043,

	MAX98937_Meas_ADC_Base_Divide_MSByte_MEAS_ADC_BASE_DIV_Mask       = (0xff << 0),


	MAX98937_Meas_ADC_Base_Divide_LSByte                              = 0x0044,

	MAX98937_Meas_ADC_Base_Divide_LSByte_MEAS_ADC_BASE_DIV_Mask       = (0xff << 0),


	MAX98937_Meas_ADC_Chan_0_Divide                                   = 0x0045,

	MAX98937_Meas_ADC_Chan_0_Divide_MEAS_ADC_CH0_DIV_Mask             = (0xff << 0),


	MAX98937_Meas_ADC_Chan_1_Divide                                   = 0x0046,

	MAX98937_Meas_ADC_Chan_1_Divide_MEAS_ADC_CH1_DIV_Mask             = (0xff << 0),


	MAX98937_Meas_ADC_Chan_2_Divide                                   = 0x0047,

	MAX98937_Meas_ADC_Chan_2_Divide_MEAS_ADC_CH2_DIV_Mask             = (0xff << 0),


	MAX98937_Meas_ADC_Chan_0_Filt_Config                              = 0x0048,
	MAX98937_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_Mask   = (0x7 << 0),


	MAX98937_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_001    = (0x0 << 0),
	MAX98937_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_011    = (0x2 << 0),
	MAX98937_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_AVG_101  = (0x4 << 0),
	MAX98937_Meas_ADC_Chan_0_Filt_Config_MEAS_ADC_CH0_FILT_EN         = (0x1 << 3),


	MAX98937_Meas_ADC_Chan_1_Filt_Config                              = 0x0049,
	MAX98937_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_Mask   = (0x7 << 0),


	MAX98937_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_001    = (0x0 << 0),
	MAX98937_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_011    = (0x2 << 0),
	MAX98937_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_AVG_101  = (0x4 << 0),
	MAX98937_Meas_ADC_Chan_1_Filt_Config_MEAS_ADC_CH1_FILT_EN         = (0x1 << 3),


	MAX98937_Meas_ADC_Chan_2_Filt_Config                              = 0x004a,
	MAX98937_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_Mask   = (0x7 << 0),


	MAX98937_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_001    = (0x0 << 0),
	MAX98937_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_011    = (0x2 << 0),
	MAX98937_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_AVG_101  = (0x4 << 0),
	MAX98937_Meas_ADC_Chan_2_Filt_Config_MEAS_ADC_CH2_FILT_EN         = (0x1 << 3),


	MAX98937_Meas_ADC_Chan_0_Readback                                 = 0x004b,

	MAX98937_Meas_ADC_Chan_0_Readback_MEAS_ADC_CH0_DATA_Mask          = (0xff << 0),


	MAX98937_Meas_ADC_Chan_1_Readback                                 = 0x004c,

	MAX98937_Meas_ADC_Chan_1_Readback_MEAS_ADC_CH1_DATA_Mask          = (0xff << 0),


	MAX98937_Meas_ADC_Chan_2_Readback                                 = 0x004d,

	MAX98937_Meas_ADC_Chan_2_Readback_MEAS_ADC_CH2_DATA_Mask          = (0xff << 0),


	MAX98937_Squelch                                                  = 0x004e,
	MAX98937_Squelch_En                                               = (0x1 << 4),
	MAX98937_SquelchUnmute_Thresh_Mask                                = (0x3 << 2),
	MAX98937_SquelchMute_Thresh_Mask                                  = (0x3 << 0),


	MAX98937_VBAT_Lowest_Status                                       = 0x004f,
	MAX98937_VBAT_Lowest_Mask                                         = (0xff << 0),


	MAX98937_PVDD_Lowest_Status                                       = 0x0050,
	MAX98937_PVDD_Lowest_Mask                                         = (0xff << 0),


	MAX98937_Brownout_status                                          = 0x0051,
	MAX98937_Brownout_status_BDE_STATE_Mask                           = (0x7 << 0),




	MAX98937_Brownout_enables                                         = 0x0052,
	MAX98937_Brownout_enables_BDE_EN                                  = (0x1 << 0),
	MAX98937_Brownout_enables_BDE_AMP_EN                              = (0x1 << 1),
	MAX98937_Brownout_enables_AMP_DSP_EN                              = (0x1 << 2),


	MAX98937_Brownout_level_infinite_hold                             = 0x0053,
	MAX98937_Brownout_level_infinite_hold_BDE_L8_INF_HLD              = (0x1 << 1),


	MAX98937_Brownout_level_infinite_hold_clear                       = 0x0054,
	MAX98937_Brownout_level_infinite_hold_clear_BDE_L8_HLD_RLS        = (0x1 << 1),


	MAX98937_Brownout_level_hold                                      = 0x0055,

	MAX98937_Brownout_level_hold_BDE_HLD_Mask                         = (0xff << 0),


	MAX98937_Brownout__level_1_threshold                              = 0x0056,

	MAX98937_Brownout__level_1_threshold_BDE_L1_VTHRESH_Mask          = (0xff << 0),


	MAX98937_Brownout__level_2_threshold                              = 0x0057,

	MAX98937_Brownout__level_2_threshold_BDE_L2_VTHRESH_Mask          = (0xff << 0),


	MAX98937_Brownout__level_3_threshold                              = 0x0058,

	MAX98937_Brownout__level_3_threshold_BDE_L3_VTHRESH_Mask          = (0xff << 0),


	MAX98937_Brownout__level_4_threshold                              = 0x0059,

	MAX98937_Brownout__level_4_threshold_BDE_L4_VTHRESH_Mask          = (0xff << 0),


	MAX98937_Brownout_threshold_hysterysis                            = 0x005a,

	MAX98937_Brownout_threshold_hysterysis_BDE_VTHRESH_HYST_Mask      = (0xff << 0),


	MAX98937_Brownout_AMP_limiter_attack_release                      = 0x005b,
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_Mask     = (0xf << 0),


	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0001     = (0x0 << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0011     = (0x2 << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0101     = (0x4 << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_0111     = (0x6 << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1001     = (0x8 << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1011     = (0xa << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1101     = (0xc << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_RLS_1111     = (0xe << 0),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_Mask     = (0xf << 4),


	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0001     = (0x0 << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0011     = (0x2 << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0101     = (0x4 << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_0111     = (0x6 << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1001     = (0x8 << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1011     = (0xa << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1101     = (0xc << 4),
	MAX98937_Brownout_AMP_limiter_attack_release_AMP_LIM_ATK_1111     = (0xe << 4),


	MAX98937_Brownout_AMP_gain_attack_release                         = 0x005c,
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_Mask       = (0xf << 0),


	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0001       = (0x0 << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0011       = (0x2 << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0101       = (0x4 << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_0111       = (0x6 << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1001       = (0x8 << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1011       = (0xa << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1101       = (0xc << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_RLS_1111       = (0xe << 0),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_Mask       = (0xf << 4),


	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0001       = (0x0 << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0011       = (0x2 << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0101       = (0x4 << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_0111       = (0x6 << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1001       = (0x8 << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1011       = (0xa << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1101       = (0xc << 4),
	MAX98937_Brownout_AMP_gain_attack_release_AMP_GAIN_ATK_1111       = (0xe << 4),


	MAX98937_Brownout_AMP1_clip_mode                                  = 0x005d,
	MAX98937_Brownout_AMP1_clip_mode_AMP_CLIP_MODE                    = (0x1 << 0),


	MAX98937_Brownout__level_1_current_limit                          = 0x005e,

	MAX98937_Brownout__level_1_current_limit_BDE_L1_ILIM_Mask         = (0x7f << 0),


	MAX98937_Brownout__level_1_amp_1_control_1                        = 0x005f,
	MAX98937_Brownout__level_1_amp_1_control_1_BDE_L1_AMP1_LIM_Mask   = (0xf << 0),




	MAX98937_Brownout__level_1_amp_1_control_2                        = 0x0060,

	MAX98937_Brownout__level_1_amp_1_control_2_BDE_L1_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_1_amp_1_control_3                        = 0x0061,

	MAX98937_Brownout__level_1_amp_1_control_3_BDE_L1_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_2_current_limit                          = 0x0062,

	MAX98937_Brownout__level_2_current_limit_BDE_L2_ILIM_Mask         = (0x3f << 0),


	MAX98937_Brownout__level_2_amp_1_control_1                        = 0x0063,
	MAX98937_Brownout__level_2_amp_1_control_1_BDE_L2_AMP1_LIM_Mask   = (0xf << 0),




	MAX98937_Brownout__level_2_amp_1_control_2                        = 0x0064,

	MAX98937_Brownout__level_2_amp_1_control_2_BDE_L2_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_2_amp_1_control_3                        = 0x0065,

	MAX98937_Brownout__level_2_amp_1_control_3_BDE_L2_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_3_current_limit                          = 0x0066,

	MAX98937_Brownout__level_3_current_limit_BDE_L3_ILIM_Mask         = (0x3f << 0),


	MAX98937_Brownout__level_3_amp_1_control_1                        = 0x0067,
	MAX98937_Brownout__level_3_amp_1_control_1_BDE_L3_AMP1_LIM_Mask   = (0xf << 0),




	MAX98937_Brownout__level_3_amp_1_control_2                        = 0x0068,

	MAX98937_Brownout__level_3_amp_1_control_2_BDE_L3_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_3_amp_1_control_3                        = 0x0069,

	MAX98937_Brownout__level_3_amp_1_control_3_BDE_L3_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_4_current_limit                          = 0x006a,

	MAX98937_Brownout__level_4_current_limit_BDE_L4_ILIM_Mask         = (0x3f << 0),


	MAX98937_Brownout__level_4_amp_1_control_1                        = 0x006b,
	MAX98937_Brownout__level_4_amp_1_control_1_BDE_L4_AMP1_LIM_Mask   = (0xf << 0),




	MAX98937_Brownout__level_4_amp_1_control_2                        = 0x006c,

	MAX98937_Brownout__level_4_amp_1_control_2_BDE_L4_AMP1_CLIP_Mask  = (0x3f << 0),


	MAX98937_Brownout__level_4_amp_1_control_3                        = 0x006d,

	MAX98937_Brownout__level_4_amp_1_control_3_BDE_L4_AMP1_GAIN_Mask  = (0x3f << 0),


	MAX98937_BROWNOUT_LOWEST_STATUS                                   = 0x006e,
	MAX98937_BDE_LOWEST_Mask                                          = (0x7 << 0),


	MAX98937_BROWNOUT_ILIM_HOLD                                       = 0x006f,
	MAX98937_BDE_ILIM_HLD_Mask                                        = (0xff << 0),


	MAX98937_BROWNOUT_LIM_HOLD                                        = 0x0070,
	MAX98937_BDE_LIM_HLD_Mask                                         = (0xff << 0),


	MAX98937_BROWNOUT_CLIP_HOLD                                       = 0x0071,
	MAX98937_BDE_CLIP_HLD_Mask                                        = (0xff << 0),


	MAX98937_BROWNOUT_GAIN_HOLD                                       = 0x0072,
	MAX98937_BDE_GAIN_HLD_Mask                                        = (0xff << 0),


	MAX98937_Env_Tracker_Vout_Headroom                                = 0x0073,

	MAX98937_Env_Tracker_Vout_Headroom_ENV_TRACKER_BST_VOUT_HEADROOM_Mask = (0x1f << 0),


	MAX98937_Env_Tracker_Boost_Vout_Delay                             = 0x0074,

	MAX98937_Env_Tracker_Boost_Vout_Delay_ENV_TRACKER_BST_VOUT_DELAY_Mask = (0x3f << 0),
	MAX98937_Env_Tracker_Boost_Vout_Delay_ENV_TRACKER_BDE_MODE        = (0x1 << 7),


	MAX98937_Env_Tracker_Release_Rate                                 = 0x0075,
	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_Mask       = (0x7 << 0),


	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_001        = (0x0 << 0),
	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_011        = (0x2 << 0),
	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_101        = (0x4 << 0),
	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_111        = (0x6 << 0),
	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_SCALE_Mask = (0x3 << 4),


	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_SCALE_01   = (0x0 << 4),
	MAX98937_Env_Tracker_Release_Rate_ENV_TRACKER_RLS_RATE_SCALE_11   = (0x2 << 4),


	MAX98937_Env_Tracker_Hold_Rate                                    = 0x0076,
	MAX98937_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_Mask         = (0x7 << 0),


	MAX98937_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_001          = (0x0 << 0),
	MAX98937_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_011          = (0x2 << 0),
	MAX98937_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_101          = (0x4 << 0),
	MAX98937_Env_Tracker_Hold_Rate_ENV_TRACKER_HOLD_RATE_111          = (0x6 << 0),


	MAX98937_Env_Tracker_Control                                      = 0x0077,
	MAX98937_Env_Tracker_Control_ENV_TRACKER_EN                       = (0x1 << 0),


	MAX98937_Env_Tracker__Boost_Vout_ReadBack                         = 0x0078,

	MAX98937_Env_Tracker__Boost_Vout_ReadBack_ENV_TRACKER_BST_VOUT_RD_Mask = (0x1f << 0),


	MAX98937_Boost_Bypass_1                                           = 0x0079,
	MAX98937_BST_CURRLIM_MASK_EN                                      = (0x1 << 6),
	MAX98937_BST_BYP_HEADROOM_MASK                                    = (0x7 << 0),


	MAX98937_Boost_Bypass_2                                           = 0x007a,
	MAX98937_BST_CURRLIM_MASK_TIMER_MASK                              = (0xf << 3),
	MAX98937_BST_BYP_MODE_MASK                                        = (0x3 << 0),


	MAX98937_Boost_Bypass_3                                           = 0x007b,
    MAX98937_BST_BYP_HOLD_MASK										  = (0x7 << 0),


	MAX98937_FET_SCALING_1                                            = 0x007c,
    MAX98937_AMP_FET_SCALE_MODE_MASK                                  = (0x3 << 0),


	MAX98937_FET_SCALING_2                                            = 0x007d,
    MAX98937_AMP_FET_SCALE_THRESHOLD_MASK                             = (0xf << 0),


	MAX98937_FET_SCALING_3                                            = 0x007e,
    MAX98937_AMP_FET_SCALE_HYST_MASK                                  = (0x7 << 0),


	MAX98937_FET_SCALING_4                                            = 0x007f,
    MAX98937_AMP_FET_SCALE_HOLD_TIME_MASK                             = (0x7 << 0),


	MAX98937_IVADC_BYPASS                                             = 0x0080,
    MAX98937_IVADC_AUTO_MODE_MASK                                     = (0x3 << 0),


	MAX98937_ADVANCED_SETTINGS                                        = 0x0081,
	MAX98937_PDM_MOD_SEL                                              = (0x1 << 1),
	MAX98937_SPK_SPEEDUP                                              = (0x1 << 0),


	MAX98937_Global_Enable                                            = 0x0500,
	MAX98937_Global_Enable_EN                                         = (0x1 << 0),

	MAX98937_Software_Reset                                           = 0x0501,
	MAX98937_Software_Reset_RST                                       = (0x1 << 0),


	MAX98937_REV_ID                                                   = 0x0600,

	MAX98937_REV_ID_REV_ID_Mask                                       = (0xff << 0),
} MAX98937Registers;


typedef enum{
	MAX98927_CH0		= (1 << 0),
	MAX98927_CH1		= (1 << 1),
	MAX98927_CH2		= (1 << 2),
	MAX98927_CH3		= (1 << 3),
} MAX98927_CHANNEL_SHIFT;

struct max989xx_priv {
	struct device *dev;
	struct regmap *regmap[MAX_CHANNEL_NUM];
	struct snd_soc_codec *codec;
	struct max98927_pdata *pdata;
	unsigned int spk_mode;
	unsigned int spk_safe_gain;
	unsigned int spk_gain;
	unsigned int spk_gain_l;
	unsigned int spk_gain_r;
	unsigned int sysclk;
	unsigned int v_l_slot;
	unsigned int i_l_slot;
	unsigned int v_r_slot;
	unsigned int i_r_slot;
	unsigned int mono_stereo;
	unsigned int i2c_states;
	unsigned int ch_size;
	unsigned int rate;
	unsigned int iface;
	unsigned int master;
	unsigned int digital_safe_gain;
	unsigned int digital_gain;
	unsigned int digital_gain_l;
	unsigned int digital_gain_r;
	unsigned int pdm_gain;
	unsigned int level_hold;
	unsigned int ref_RDC[2];
	unsigned int adsp_mode;
	int reset_gpio_l;
	int reset_gpio_r;
#ifdef CONFIG_DEBUG_FS
	struct dentry *dbg_dir;
#endif
	struct regulator *max989xx_vdd;
	struct regulator *i2c_pull;
	bool interleave_mode;
	bool rcv_mix_mode;
	bool factory_test;
	bool safe_gain;
	bool dsm_enable;
	int  bIsMax98937[2];
};

#define MAX98927_GLOBAL_SHIFT 0
#define M98927_DAI_MSEL_SHIFT 4
#define M98927_DAI_BSEL_SHIFT 0
#define M98927_DAI_BSEL_32 (2 << M98927_DAI_BSEL_SHIFT)
#define M98927_DAI_BSEL_48 (3 << M98927_DAI_BSEL_SHIFT)
#define M98927_DAI_BSEL_64 (4 << M98927_DAI_BSEL_SHIFT)
#define M98927_DAI_MSEL_32 (2 << M98927_DAI_MSEL_SHIFT)
#define M98927_DAI_MSEL_48 (3 << M98927_DAI_MSEL_SHIFT)
#define M98927_DAI_MSEL_64 (4 << M98927_DAI_MSEL_SHIFT)
#define MAX98927_Speaker_Gain_Width 3
#define MAX98927_SPK_RMP_EN_SHIFT 4
#define MAX98927_PDM_GAIN_SHIFT 4
#define MAX98927_pdm_Gain_Width 3
#define MAX98927_AMP_VOL_WIDTH 7
#define MAX98927_AMP_VOL_LOCATION_SHIFT 7
#define MAX98927_PDM_Rx_Enable_PDM_CH_SHIFT 3
#define MAX98927_PCM_to_speaker_monomix_A_SHIFT 6
#define MAX98927_PCM_Sample_rate_setup_2_DIG_IF_SR_48000    (0x8 << 4)
#define MAX98927_PCM_FORMAT_DSP_A    (0x3 << 3)
#define MAX98927_DRE_Control_DRE_SHIFT   0
#define MAX98927_PCM_Master_Mode_PCM_MCLK_RATE_SHIFT         (2)
#define MAX98927_Brownout_AMP_limiter_attack_release_shift 4
#define MAX98927_BDE_DSP_SHIFT 2
#define MAX98927_Speaker_Gain_SPK_PDM_GAIN_SHIFT (4)
#define MAX98927_BDE_AMP_SHIFT 1
#define MAX98927_BST_ILIM_SHIFT 1
#endif
